diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-02-18 05:03:18 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-02-18 05:03:18 +0400 |
commit | 39739583d8587fa339f7750afe658e263e31d841 (patch) | |
tree | 55b000c1aa4ab5b9cae5b23268b4f8eedf554bea /console | |
parent | ca55552567cd3127b9658fe93e4d288b8e23d8ee (diff) |
Show helpful message when config file is not readable
Diffstat (limited to 'console')
-rwxr-xr-x | console | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 |