src build elFinder-2.1-e521c25

This commit is contained in:
nao-pon
2018-03-21 21:44:33 +09:00
parent 44232bb2fb
commit 19fed223ed
9 changed files with 41 additions and 44 deletions
+2 -2
View File
@@ -1146,10 +1146,10 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
* @return array
*/
protected function isNameExists($path) {
$res = file_exists($this->convEncIn($path));
$exists = file_exists($this->convEncIn($path));
// restore locale
$this->convEncOut();
return $res;
return $exists? $this->stat($path) : false;
}
/******************** Over write (Optimized) functions *************************/