Parcourir la source

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

Jinhui Zhu il y a 4 ans
Parent
commit
86fa8e479a
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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
 
     }
 
-}
+}