From 1a3b0681ccee5db70cc9756be9f78307a5e3d2cb Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Mon, 11 Nov 2013 00:16:15 +0000 Subject: refs #4241 let plugins add new console commands --- console | 3 +++ 1 file changed, 3 insertions(+) (limited to 'console') diff --git a/console b/console index a1a51328b4..dc971e5e1a 100755 --- a/console +++ b/console @@ -8,6 +8,9 @@ require_once PIWIK_INCLUDE_PATH . '/vendor/autoload.php'; require_once PIWIK_INCLUDE_PATH . '/core/Loader.php'; require_once PIWIK_INCLUDE_PATH . '/libs/upgradephp/upgrade.php'; +// load all plugins +Piwik\Plugin\Manager::getInstance()->returnLoadedPluginsInfo(); + if (!Piwik\Common::isPhpCliMode()) { exit; } -- cgit v1.2.3