API17:JPath::check
From Joomla! Documentation
JPath::check
Description
Checks for snooping outside of the file system root.
public static function check (
$path
$ds=DIRECTORY_SEPARATOR
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | A file system path to check | |
| $ds | string | DIRECTORY_SEPARATOR | Directory separator (optional) |
- Returns string A cleaned version of the path
- Defined on line 143 of libraries/joomla/filesystem/path.php
- Since

- Referenced by
See also
JPath::check source code on BitBucket
Class JPath
Subpackage Filesystem- Other versions of JPath::check
User contributed notes
Code Examples