Path
Extends PathA Path handling class
deprecated
| since |
1.7.0 |
|---|---|
| deprecated |
4.4 will be removed in 6.0 Use Joomla\Filesystem\Path instead. |
| package |
Joomla CMS |
Methods
check
Checks for snooping outside of the file system root.
check( path, basePath = '') :
static deprecated
| throws |
|
|---|---|
| since |
1.7.0 |
| deprecated |
4.4 will be removed in 6.0 Use Joomla\Filesystem\Path::check() instead. |
Arguments
- path
stringA file system path to check.- basePath
mixed
Response
stringA cleaned version of the path or exit on error.
isOwner
Method to determine if script owns the path.
isOwner( path) :
static deprecated
| since |
1.7.0 |
|---|---|
| deprecated |
4.4 will be removed in 6.0 Use Joomla\Filesystem\Path::isOwner() instead. |
Arguments
- path
stringPath to check ownership.
Response
boolTrue if the php script owns the path passed.