Basic implementation event signup

This commit is contained in:
2024-05-27 16:59:30 +02:00
parent a66f2d2422
commit a69d83bc0a
321 changed files with 138376 additions and 644 deletions

View File

@ -20,12 +20,15 @@ spl_autoload_register(function ($className) {
});
$directoryPath = BDP_LV_PLUGIN_DIR . 'components/partials/';
foreach (glob($directoryPath . '*.php') as $file) {
require_once $file;
}
$subdirs = ['includes', 'Controllers', 'Views', 'Requests', 'Actions'];
$subdirs = ['includes', 'Controllers', 'Views', 'Requests', 'Actions', 'Models'];
foreach (scandir(BDP_LV_PLUGIN_DIR . 'modules/') as $curModule) {
if ($curModule != '.' && $curModule != '..' && is_dir(BDP_LV_PLUGIN_DIR . 'modules/' . $curModule))
@ -41,4 +44,6 @@ foreach (scandir(BDP_LV_PLUGIN_DIR . 'modules/') as $curModule) {
}
}
}
}
}