From 380165ffce4fe8eaa017791c3c0df13f150aae9b Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Fri, 21 Feb 2014 00:44:16 +1300 Subject: [PATCH] this took me a long time to find. @tsteur any idea why you put this isCliMode to false in the command, which is CLI? This was causing bug where the redirectToUrl normally exits in SSL, and here was just printing the header and silently "failing". (when running console command) --- core/CliMulti/RequestCommand.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/CliMulti/RequestCommand.php b/core/CliMulti/RequestCommand.php index 8a1df0db19..f6ccfd3454 100644 --- a/core/CliMulti/RequestCommand.php +++ b/core/CliMulti/RequestCommand.php @@ -52,8 +52,6 @@ class RequestCommand extends ConsoleCommand $process->startProcess(); } - Common::$isCliMode = false; - require_once PIWIK_INCLUDE_PATH . $indexFile; if (!empty($process)) { -- GitLab