src build elFinder-2.1-8e742ac

This commit is contained in:
nao-pon
2016-01-23 22:03:14 +09:00
parent 7e9b6e38a4
commit e6a36dcfca
13 changed files with 441 additions and 67 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
**/
protected function _dirname($path) {
return ($stat = $this->stat($path)) ? ($stat['phash'] ? $this->decode($stat['phash']) : $this->root) : false;
return ($stat = $this->stat($path)) ? (!empty($stat['phash']) ? $this->decode($stat['phash']) : $this->root) : false;
}
/**