Try to disable displaying errors, not error reporting
This commit is contained in:
parent
a4eb37c3dc
commit
35019c3d39
2
auth.php
2
auth.php
@ -21,7 +21,7 @@ if (defined('headless')) {
|
|||||||
if (ob_get_level()) {
|
if (ob_get_level()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
}
|
}
|
||||||
error_reporting(0);
|
ini_set('display_errors', '0');
|
||||||
}
|
}
|
||||||
define('ROOT_DIR', __DIR__);
|
define('ROOT_DIR', __DIR__);
|
||||||
require_once(ROOT_DIR . "/helpers/config.php");
|
require_once(ROOT_DIR . "/helpers/config.php");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user