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

@@ -193,10 +193,6 @@ define('PAGE', $page);
$template_place_holders = array();
// event system
require_once SYSTEM . 'hooks.php';
$hooks = new Hooks();
$hooks->load();
require_once SYSTEM . 'login.php';
require_once SYSTEM . 'status.php';