enable error reporting

This commit is contained in:
Steffen Schröder 2014-05-03 22:30:38 +02:00
parent ca7d5863bf
commit f0a4fedfe1

View File

@ -8,6 +8,9 @@ define('LOG_NAME_USE_PID', true); // Use current process id as suffix for log fi
// Define base dir
define('ManiaControlDir', __DIR__ . DIRECTORY_SEPARATOR);
// Enable error reporting
error_reporting(E_ALL);
// Define fatal error level
define('E_FATAL', E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_RECOVERABLE_ERROR | E_USER_ERROR);