- worked on ingame configurator (not possible like that!)

- fml fix
This commit is contained in:
Steffen Schröder
2013-12-04 00:40:37 +01:00
parent 284fc5f6e7
commit 1871617ac9
7 changed files with 95 additions and 10 deletions

View File

@ -3,6 +3,7 @@
namespace ManiaControl\Plugins;
require_once __DIR__ . '/Plugin.php';
require_once __DIR__ . '/PluginMenu.php';
use ManiaControl\ManiaControl;
@ -21,6 +22,7 @@ class PluginManager {
* Private properties
*/
private $maniaControl = null;
private $pluginMenu = null;
private $activePlugins = array();
private $pluginClasses = array();
@ -32,6 +34,9 @@ class PluginManager {
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->initTables();
$this->pluginMenu = new PluginMenu($maniaControl);
$this->maniaControl->configurator->addMenu($this->pluginMenu);
}
/**