PathHelper

Type
Class
Namespace
Craft
Inherits
Craft\PathHelper
Since
1.0

Class PathHelper

See also http://craftcms.com

View source

Public Methods

MethodDescription
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

Arguments

Returns

boolean

Signature

public static boolean ensurePathIsContained ( $path )