refactor(Location change FHC Core Event): changes the location of the Events for the FHCore App to the original folder

This commit is contained in:
SimonGschnell
2025-07-15 12:01:46 +02:00
parent 9fe7dd069f
commit 9e06f1468a
3 changed files with 32 additions and 48 deletions
-3
View File
@@ -49,9 +49,6 @@ 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';