From 922d359a2510448f1b3c215fa5683e0d59ddd083 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sat, 15 Feb 2020 16:54:05 +0800 Subject: [PATCH] Update scf.php --- function/scf.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/function/scf.php b/function/scf.php index 3d8cc51..2af9836 100644 --- a/function/scf.php +++ b/function/scf.php @@ -56,11 +56,6 @@ function getConfig($str) return getenv($str); } -function array_value_isnot_null($arr) -{ - return $arr!==''; -} - function setConfig($arr) { //$function_name, $Region, $Namespace, $SecretId, $SecretKey @@ -181,7 +176,7 @@ namespace:' . $_SERVER['namespace'] . '
'.++$trynum; updateProgram($_SERVER['function_name'], $_SERVER['Region'], $_SERVER['namespace'], $SecretId, $SecretKey); return message('update to github version, reinstall.', 'Program updating', 201); - } + } if ($constStr['language']!='zh-cn') { $linklang='en-us'; } else $linklang='zh-cn';