From 399fb38fd408cf51c46266cfe38d57ef17983e5c Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Fri, 15 Jan 2021 16:28:53 +0800 Subject: [PATCH] fix: empty files cause 500 error in heroku --- common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.php b/common.php index 1d1a25c..dc1dc1f 100644 --- a/common.php +++ b/common.php @@ -1415,7 +1415,7 @@ function EnvOpt($needUpdate = 0) return message($html, getconstStr('Setup')); } -function render_list($path = '', $files = '') +function render_list($path = '', $files = []) { global $exts; global $constStr;