mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user