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
path: root/misc
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-10 05:06:16 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-10 05:06:16 +0300
commit76a5fe098e5a939a2709867133d74b9441c9a4d9 (patch)
tree74f3824b52b2e115ed85fc40a44425c8c754be15 /misc
parent6bf0530c94cfd08f11bf6c35d56102b0345c8eca (diff)
#6622 Logger refactoring: introduced a DI config for the test environment
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/archive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php
index 3abd5b0ccb..41dfb06d7e 100644
--- a/misc/cron/archive.php
+++ b/misc/cron/archive.php
@@ -64,7 +64,7 @@ if (isset($_SERVER['argv']) && Piwik\Console::isSupported()) {
if (Piwik\Common::isPhpCliMode()) {
// We can run the archive in CLI with `php-cgi` so we have to configure the container/logger
// just like for CLI
- StaticContainer::loadCliConfig();
+ StaticContainer::setEnvironment('cli');
/** @var ConsoleHandler $consoleLogHandler */
$consoleLogHandler = StaticContainer::getContainer()->get('Symfony\Bridge\Monolog\Handler\ConsoleHandler');
$consoleLogHandler->setOutput(new ConsoleOutput(OutputInterface::VERBOSITY_VERBOSE));