JPath::check
Checks for snooping outside of the file system root.
Signature
public function check(string
$path )
Parameters
-
$path
- A file system path to check.
Returns
- string
- A cleaned version of the path or exit on error.