Try to disable displaying errors, not error reporting

This commit is contained in:
Bartek Fabiszewski 2017-08-22 20:11:46 +02:00
parent a4eb37c3dc
commit 35019c3d39

View File

@ -21,7 +21,7 @@ if (defined('headless')) {
if (ob_get_level()) {
ob_end_clean();
}
error_reporting(0);
ini_set('display_errors', '0');
}
define('ROOT_DIR', __DIR__);
require_once(ROOT_DIR . "/helpers/config.php");