Kaynağa Gözat

Merge branch 'master' of http://code.istudy.wang/root/Qii

Jinhui Zhu 4 yıl önce
ebeveyn
işleme
86fa8e479a
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      src/Qii.php
  2. 1 1
      src/Request/Http.php

+ 1 - 1
src/Qii.php

@@ -212,4 +212,4 @@ $namespace = _include(Qii_DIR . DS . 'Conf' . DS . 'namespace.php');
 //捕获FATAL错误,用户可以选择记录到日志,还是直接显示或者不显示错误
 register_shutdown_function('catch_fatal_error');
 set_exception_handler(array('\Qii\Exceptions\Errors', 'getError'));
-set_error_handler(array('\Qii\Exceptions\Errors', 'getError'), E_USER_ERROR);
+set_error_handler(array('\Qii\Exceptions\Errors', 'getError'), E_USER_ERROR);

+ 1 - 1
src/Request/Http.php

@@ -216,4 +216,4 @@ final class Http extends Request
 
     }
 
-}
+}