未验证 提交 74bb87ef 编写于 作者: Q qkqpttgf 提交者: GitHub

fix: get hidden filename via json

上级 86ba05b5
......@@ -347,6 +347,11 @@ function main($path)
if ($path1!='/'&&substr($path1,-1)=='/') $path1=substr($path1, 0, -1);
$files = $drive->list_files($path1);
}
if ($files['type']=='folder' && !$_SERVER['admin']) {
foreach ($files['list'] as $k => $v) {
if (isHideFile($k)) unset($files['list'][$k]);
}
}
if ($_GET['json']) {
// return a json
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册