小胡
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
core/class/table/table_resources_path.php
|
|
@ -237,7 +237,7 @@ class table_resources_path extends dzz_table |
|
|
|
public function parse_path_get_rootdirinfo($path){ |
|
|
|
$dirpath = explode('/',$path); |
|
|
|
$rootpath = $dirpath[0].'/';//根目录路径
|
|
|
|
$rootfid = DB::result_first("select fid from %t where path = %s order by fid DESC",array($this->_table,self::path_transferred_meaning($rootpath))); |
|
|
|
$rootfid = DB::result_first("select fid from %t where path = %s order by fid DESC",array($this->_table,$rootpath)); |
|
|
|
if(!$rootfid){ |
|
|
|
return false; |
|
|
|
} |
|
|
|