Missing inclusion of plugin autoloader file

This commit is contained in:
Benoît Burnichon
2016-02-17 11:21:52 +01:00
parent 5b5c42173e
commit c1b9d74cfc

View File

@@ -38,6 +38,8 @@ class module_console_systemUpgrade extends Command
$pluginAutoloader = rtrim($this->container['root.path'], '\\/') . '/plugins/autoload.php';
if (file_exists($pluginAutoloader)) {
require_once $pluginAutoloader;
$serviceProvider = new \Alchemy\Phrasea\Core\Provider\PluginServiceProvider();
$serviceProvider->register($this->getContainer());
$serviceProvider->boot($this->getContainer());