Changeset View
Changeset View
Standalone View
Standalone View
src/filesystem/FileList.php
Context not available. | |||||
return true; | return true; | ||||
} | } | ||||
if ($allow_parent_directory) { | if ($allow_parent_directory) { | ||||
$len = strlen($file); | $len = @strlen($file); | ||||
if (isset($this->dirs[$file]) && !strncmp($file, $path, $len)) { | if (isset($this->dirs[$file]) && !strncmp($file, $path, $len)) { | ||||
return true; | return true; | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0