In case the path passed to the `File` class doesn't exists, this will
cause `File::$path` to be set to a partial path, that is the filename
of the passed path with a slash prepended, ex with
`$file = new File('/non/existent/file');`
calling `$file->pwd()` will return/set `/file`, possibly causing that
file in the root to be accessed.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||