mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-15 21:39:46 +01:00
Ini set html_errors = 0, to show html code in exceptions
This commit is contained in:
@@ -154,6 +154,7 @@ if(isset($config['env']) && $config['env'] !== 'dev' && !defined('MYAAC_INSTALL'
|
|||||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
ini_set('html_errors', 0);
|
||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
ini_set('display_startup_errors', 1);
|
ini_set('display_startup_errors', 1);
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|||||||
Reference in New Issue
Block a user