瀏覽代碼

Remove forced display error

For #442
walkor 4 年之前
父節點
當前提交
2ac7cef183
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      Lib/Constants.php

+ 1 - 5
Lib/Constants.php

@@ -13,11 +13,7 @@
  * @link      http://www.workerman.net/
  */
 
-// Display errors.
-ini_set('display_errors', 'on');
-// Reporting all.
-error_reporting(E_ALL);
-// JIT is not stable, temporarily disabled.
+// Pcre.jit is not stable, temporarily disabled.
 ini_set('pcre.jit', 0);
 
 // For onError callback.