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();