feature(FHC Core Renderer Event): adds the FHC Core renderer Event to the loadRenderer Event

This commit is contained in:
SimonGschnell
2025-06-03 09:24:54 +02:00
parent c62b587299
commit a2dee4d6ba
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -49,6 +49,9 @@ require_once(APPPATH.'config/Events.php');
$active_addons_array = explode(";", ACTIVE_ADDONS);
// Load Events from FHC core
require_once APPPATH.'core/Events.php';
foreach (scandir(APPPATH.'config/extensions') as $dir)
if ($dir[0] != '.' && file_exists(APPPATH.'config/extensions/'.$dir.'/Events.php'))
require_once APPPATH.'config/extensions/'.$dir.'/Events.php';