Update init.php

This commit is contained in:
slawkens 2024-11-12 22:01:15 +01:00
parent 36bd3eb846
commit bab565fbd0

View File

@ -43,9 +43,11 @@ if(isset($config['gzip_output']) && $config['gzip_output'] && isset($_SERVER['HT
ob_start('ob_gzhandler'); ob_start('ob_gzhandler');
// cache // cache
global $cache;
$cache = Cache::getInstance(); $cache = Cache::getInstance();
// event system // event system
global $hooks;
$hooks = new Hooks(); $hooks = new Hooks();
$hooks->load(); $hooks->load();