From fc97b2269d55d108a584f42e048eaa7904c3581a Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 8 Mar 2020 12:37:10 +0800 Subject: [PATCH] Update common.php --- function/common.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/function/common.php b/function/common.php index dc18bec..973b410 100644 --- a/function/common.php +++ b/function/common.php @@ -355,6 +355,7 @@ function message($message, $title = 'Message', $statusCode = 200) +

' . $title . '

@@ -1275,9 +1276,9 @@ function EnvOpt($needUpdate = 0) $html .= ' '.getconstStr('Back').'   '.getconstStr('Back').getconstStr('Home').'
Github
'; - if (!$_SERVER['USER']==='qcloud'&&!$_SERVER['HEROKU_APP_DIR']==='/app') { + if (!($_SERVER['USER']==='qcloud'||$_SERVER['HEROKU_APP_DIR']==='/app')) { $html .= ' -In VPS, can not update by a click!
'; +In VPS can not update by a click!
'; } else { $html .= '