瀏覽代碼

启动提示

walkor 11 年之前
父節點
當前提交
4ce0feb213
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      workerman/Core/Lib/Checker.php

+ 1 - 6
workerman/Core/Lib/Checker.php

@@ -73,13 +73,8 @@ class Checker
                 exit(str_pad('* ' . $ext_name, $pad_length) . " \033[31;40m [NOT SUPORT BUT REQUIRED] \033[0m\n\n\033[31;40mYou have to enable {$ext_name} \033[0m\n\n\033[31;40mWorkerman start fail\033[0m\n\n");
             }
     
-            // 支持扩展
-            if($suport)
-            {
-                echo str_pad('* ' . $ext_name, $pad_length), "\033[32;40m [OK] \033[0m\n";
-            }
             // 不支持
-            else
+            if(!$suport)
             {
                 // proctitle不是必须
                 if('proctitle' == $ext_name)