PathHelper
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\PathHelper
- Since
- 1.0
Class PathHelper
See also http://craftcms.com
View source (opens new window)
# Public Methods
Method | Description |
---|---|
ensurePathIsContained() | Ensures that a relative path never goes deeper than its root directory. |
# ensurePathIsContained()
Ensures that a relative path never goes deeper than its root directory.
View source (opens new window)
Arguments
$path
(string (opens new window))
Returns
Signature
public static boolean ensurePathIsContained ( $path )