error reporting
This commit is contained in:
parent
be37536ddf
commit
a3ba0ea641
@ -1,4 +1,7 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
ini_set('log_errors','1');
|
||||
ini_set('display_errors','0');
|
||||
define('ROOT_DIR', __DIR__);
|
||||
register_shutdown_function(function() {
|
||||
$error = error_get_last();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user