Merge pull request #691 from qkqpttgf/qkqpttgf-patch-1

fix bug!
pull/696/head
qkqpttgf 2023-05-20 15:12:49 +00:00 committed by GitHub
commit ef70b6bcb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1403,6 +1403,7 @@ function EnvOpt($needUpdate = 0)
global $timezones;
global $slash;
global $drive;
global $platform;
ksort($EnvConfigs);
$disktags = explode('|', getConfig('disktag'));
$envs = '';

View File

@ -140,6 +140,7 @@ function main_handler($event, $context)
// Aliyun FC & Huawei FG & Baidu CFC
function handler($event, $context)
{
global $platform;
if ('FC'==$platform) {
// Aliyun FC
set_error_handler("myErrorHandler");