Contao\DC_Folder::isProtectedPath PHP Метод

isProtectedPath() защищенный Метод

Check if a path is protected (see #287)
protected isProtectedPath ( string $path ) : boolean
$path string
Результат boolean
    protected function isProtectedPath($path)
    {
        do {
            if (file_exists(TL_ROOT . '/' . $path . '/.public')) {
                return false;
            }
            $path = dirname($path);
        } while ($path != '.');
        return true;
    }