diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-11-11 04:16:15 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-11-11 04:16:15 +0400 |
commit | 1a3b0681ccee5db70cc9756be9f78307a5e3d2cb (patch) | |
tree | a3e2e10a9cf231787f3946c7226b3013d13a1f37 /console | |
parent | 02032508250c7ee9386be95aee918514b3226f7a (diff) |
refs #4241 let plugins add new console commands
Diffstat (limited to 'console')
-rwxr-xr-x | console | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |