fix: empty files cause 500 error in heroku

This commit is contained in:
qkqpttgf
2021-01-15 16:28:53 +08:00
committed by GitHub
parent 661a6f89fe
commit 399fb38fd4
+1 -1
View File
@@ -1415,7 +1415,7 @@ function EnvOpt($needUpdate = 0)
return message($html, getconstStr('Setup')); return message($html, getconstStr('Setup'));
} }
function render_list($path = '', $files = '') function render_list($path = '', $files = [])
{ {
global $exts; global $exts;
global $constStr; global $constStr;