mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Add error_reporting in admin panel
Same as in main page (cherry picked from commit 1f6bd975d08c451ef626da354510ad6b078719b7)
This commit is contained in:
parent
13584a4d96
commit
af3a1c2f55
@ -27,6 +27,12 @@ define('PAGE', $page);
|
||||
require SYSTEM . 'functions.php';
|
||||
require SYSTEM . 'init.php';
|
||||
|
||||
if(config('env') === 'dev') {
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
}
|
||||
|
||||
// event system
|
||||
require_once SYSTEM . 'hooks.php';
|
||||
$hooks = new Hooks();
|
||||
|
Loading…
x
Reference in New Issue
Block a user