Update common.php
parent
95b43461e8
commit
61df78a005
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue