src build elFinder-2.1-67c6968

This commit is contained in:
nao-pon
2017-02-24 23:55:46 +09:00
parent a6b94e45b0
commit d5f06f508e
5 changed files with 6 additions and 8 deletions
@@ -442,13 +442,11 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$stat = array();
if (!file_exists($path) && !is_link($path)) {
debug($path);
return $stat;
}
//Verifies the given path is the root or is inside the root. Prevents directory traveral.
if (!$this->_inpath($path, $this->root)) {
debug($path, $this->root);
return $stat;
}