fix: too many redirect in SCF long link
parent
2f48674ef8
commit
724f357fc4
|
@ -358,7 +358,7 @@ function main($path)
|
|||
} else {
|
||||
$files = $drive->list_files($path1);
|
||||
}
|
||||
if ( $files['type']=='folder' && substr($path, -1)!=='/' ) {
|
||||
if ($path!=='') if ( $files['type']=='folder' && substr($path, -1)!=='/' ) {
|
||||
$tmp = path_format($_SERVER['base_disk_path'] . $path . '/');
|
||||
return output('<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<html><head>
|
||||
|
|
Loading…
Reference in New Issue