diff --git a/application/core/Plugins/PluginManager.php b/application/core/Plugins/PluginManager.php index 517a11c8..bd7a895a 100644 --- a/application/core/Plugins/PluginManager.php +++ b/application/core/Plugins/PluginManager.php @@ -184,7 +184,7 @@ class PluginManager { /** * Load complete plugins directory and start all configured plugins */ - public function loadPlugins($dir = '') { + public function loadPlugins($dir = '') { //TODO first include all files, than handle plugin activation $pluginsDirectory = ManiaControlDir . '/plugins/' . $dir . '/'; $pluginFiles = scandir($pluginsDirectory, 0); foreach($pluginFiles as $pluginFile) { @@ -194,6 +194,7 @@ class PluginManager { if (is_dir($pluginsDirectory . $pluginFile)) { $this->loadPlugins($pluginFile); + var_dump("test"); continue; } @@ -208,7 +209,7 @@ class PluginManager { if (!$this->isPluginClass($className)) { continue; } - + //Prepare Plugin $className::prepare($this->maniaControl);