Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-11-11 04:16:15 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-11-11 04:16:15 +0400
commit1a3b0681ccee5db70cc9756be9f78307a5e3d2cb (patch)
treea3e2e10a9cf231787f3946c7226b3013d13a1f37 /console
parent02032508250c7ee9386be95aee918514b3226f7a (diff)
refs #4241 let plugins add new console commands
Diffstat (limited to 'console')
-rwxr-xr-xconsole3
1 files changed, 3 insertions, 0 deletions
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;
}