Basic implementation event signup
This commit is contained in:
		@@ -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) {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user