Update common.php

artplayer_test
qkqpttgf 2022-01-01 12:00:00 +00:00 committed by GitHub
parent 95b43461e8
commit 61df78a005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ function main($path)
$files = json_decode('{"type":"folder"}', true); $files = json_decode('{"type":"folder"}', true);
} elseif ($_SERVER['ishidden']==4) { } elseif ($_SERVER['ishidden']==4) {
if (!getConfig('downloadencrypt', $_SERVER['disktag'])) { if (!getConfig('downloadencrypt', $_SERVER['disktag'])) {
$files = json_decode('{"type":"folder"}', true); $files = json_decode('{"type":"file"}', true);
} else { } else {
$files = $drive->list_files($path1); $files = $drive->list_files($path1);
if ($files['type']=='folder') $files = json_decode('{"type":"folder"}', true); if ($files['type']=='folder') $files = json_decode('{"type":"folder"}', true);