Update scf.php

pull/15/head
qkqpttgf 2020-02-15 16:54:05 +08:00 committed by GitHub
parent 8ef04de7ad
commit 922d359a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -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'] . '<br>
'.++$trynum;
updateProgram($_SERVER['function_name'], $_SERVER['Region'], $_SERVER['namespace'], $SecretId, $SecretKey);
return message('update to github version, reinstall.<meta http-equiv="refresh" content="3;URL=' . $url . '">', 'Program updating', 201);
}
}
if ($constStr['language']!='zh-cn') {
$linklang='en-us';
} else $linklang='zh-cn';