mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-04-05 20:26:43 +08:00
@@ -3579,4 +3579,15 @@ function dzz_userconfig_init()
|
||||
if ($pathh==$shareLink){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
//取得所有子级目录
|
||||
function get_all_chilrdenfid_by_pfid($pfid)
|
||||
{
|
||||
static $fids = array();
|
||||
foreach(C::t('folder')->fetch_fid_by_pfid($pfid) as $v){
|
||||
$fids[] = $v['fid'];
|
||||
get_all_chilrdenfid_by_pfid($v['fid']);
|
||||
}
|
||||
return $fids;
|
||||
}
|
||||
Reference in New Issue
Block a user