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:
authormattab <matthieu.aubry@gmail.com>2014-02-18 05:03:18 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-18 05:03:18 +0400
commit39739583d8587fa339f7750afe658e263e31d841 (patch)
tree55b000c1aa4ab5b9cae5b23268b4f8eedf554bea /console
parentca55552567cd3127b9658fe93e4d288b8e23d8ee (diff)
Show helpful message when config file is not readable
Diffstat (limited to 'console')
-rwxr-xr-xconsole13
1 files changed, 1 insertions, 12 deletions
diff --git a/console b/console
index 065eb736b3..47912e1508 100755
--- a/console
+++ b/console
@@ -17,17 +17,6 @@ Translate::loadEnglishTranslation();
if (!Common::isPhpCliMode()) {
exit;
}
-
-$piwikHostname = CronArchive::getParameterFromCli('piwik-domain', true);
-$piwikHostname = UrlHelper::getHostFromUrl($piwikHostname);
-
-Url::setHost($piwikHostname);
-
-// load active plugins
-$pluginsManager = Plugin\Manager::getInstance();
-$pluginsToLoad = Config::getInstance()->Plugins['Plugins'];
-$pluginsManager->loadPlugins($pluginsToLoad);
-
-
$console = new Console();
+$console->init();
$console->run(); \ No newline at end of file