From 5d7e83bfc988cc5843662f2a787010bfa8c16404 Mon Sep 17 00:00:00 2001 From: tianya Date: Wed, 17 May 2023 22:08:21 +0800 Subject: [PATCH] Update index.php --- src/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.php b/src/index.php index 31939613..47f6c0f5 100755 --- a/src/index.php +++ b/src/index.php @@ -31,7 +31,7 @@ if (isset($_GET['upcache']) || !file_exists('index.html')) { if (PHP_SAPI === 'cli') { echo '首页:生成花费时间:'.$queryTime."\r\n"; } else { - echo "
页面加载总消耗时间:{$queryTime}
\r\n"; + echo DedeAlert("页面加载总消耗时间:{$queryTime}", ALERT_DANGER); } } include(dirname(__FILE__).'/index.html'); @@ -43,7 +43,7 @@ if (isset($_GET['upcache']) || !file_exists('index.html')) { if (PHP_SAPI === 'cli') { echo '首页:加载花费时间:'.$queryTime."\r\n"; } else { - echo "
页面加载总消耗时间:{$queryTime}
\r\n"; + echo DedeAlert("页面加载总消耗时间:{$queryTime}", ALERT_DANGER); } } exit();