This commit is contained in:
2020-10-30 01:05:30 +08:00
parent 2893c70761
commit 6f50927574
+1 -1
View File
@@ -35,7 +35,7 @@ class ErrorHandler extends Component implements ErrorInterface
*/
public function register()
{
ini_set('display_errors', 0);
ini_set('display_errors', '0');
set_exception_handler([$this, 'exceptionHandler']);
if (defined('HHVM_VERSION')) {
set_error_handler([$this, 'errorHandler']);