Load hooks before twig, add new hooks: HOOK_TWIG + HOOK_INIT

This commit is contained in:
slawkens
2025-05-16 07:42:50 +02:00
parent 26b2c472cc
commit 5726c9fa94
6 changed files with 10 additions and 10 deletions

View File

@@ -34,11 +34,6 @@ if(config('env') === 'dev') {
error_reporting(E_ALL);
}
// event system
require_once SYSTEM . 'hooks.php';
$hooks = new Hooks();
$hooks->load();
require SYSTEM . 'status.php';
require SYSTEM . 'login.php';
require SYSTEM . 'migrate.php';