diff --git a/app/helpers.php b/app/helpers.php
index 7ab65598..b73d3572 100644
--- a/app/helpers.php
+++ b/app/helpers.php
@@ -398,7 +398,10 @@ if (! function_exists('runtime_check')) {
{
foreach ($requirements['extensions'] as $extension) {
if (!extension_loaded($extension)) {
- exit("[Error] You have not installed the $extension extension");
+ exit(
+ "[Error] You have not installed the $extension extension
".
+ "[错误] 你尚未安装 $extension 扩展!安装方法请自行搜索,蟹蟹。"
+ );
}
}
}
diff --git a/index.php b/index.php
index b1dcbf1b..93e8c448 100755
--- a/index.php
+++ b/index.php
@@ -11,7 +11,10 @@
// check PHP version
if (version_compare(PHP_VERSION, '5.5.9', '<')) {
- exit('[Error] Blessing Skin Server needs PHP version >= 5.5.9, you are now using '.PHP_VERSION);
+ exit(
+ '[Error] Blessing Skin Server needs PHP version >= 5.5.9, you are now using '.PHP_VERSION.'
'.
+ '[错误] 你的 PHP 版本过低('.PHP_VERSION.'),Blessing Skin Server 要求至少为 5.5.9'
+ );
}
require __DIR__.'/bootstrap/autoload.php';