Add HOOK_INIT, executed just after $hooks are loaded

This commit is contained in:
slawkens
2025-02-02 16:17:49 +01:00
parent a73fb1003e
commit 19686725dc
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ $cache = Cache::getInstance();
global $hooks;
$hooks = new Hooks();
$hooks->load();
$hooks->trigger(HOOK_INIT);
// twig
require_once SYSTEM . 'twig.php';