diff --git a/index.php b/index.php
index 807eed4..7b83647 100644
--- a/index.php
+++ b/index.php
@@ -67,7 +67,9 @@ if (isset($_SERVER['USER'])&&$_SERVER['USER']==='qcloud') {
} else {
include 'platform/Normal.php';
if (!function_exists('curl_init')) {
- return message('Need curl, please install php-curl.', 'Error', 500);
+ http_response_code(500);
+ echo 'Need curl, please install php-curl.';
+ exit(1);
}
$path = getpath();
//echo 'path:'. $path;