From 627591194283e2f4c22b0c3e065cb51d7f5ea827 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sat, 20 May 2023 23:00:19 +0800 Subject: [PATCH] fix --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index f22a386..b409fab 100644 --- a/index.php +++ b/index.php @@ -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");