diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-09-08 05:45:00 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-09-08 05:45:00 +0300 |
commit | 91e84c2b192a45a2c91a07a41e98361368b2892f (patch) | |
tree | b402c51c758550de66529287894a61875f12dacf /misc | |
parent | 549b14eb376fb109828573b2c1d241d7a6587f67 (diff) |
Make sure that web archiver uses text/plain content type
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cron/archive.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php index bbfa1ae39d..f719a2d3d4 100644 --- a/misc/cron/archive.php +++ b/misc/cron/archive.php @@ -56,6 +56,7 @@ if (Piwik\Common::isPhpCliMode()) { $console->run(); } else { // if running via web request, use CoreAdminHome.runCronArchiving method + Piwik\Common::sendHeader('Content-type: text/plain'); $_GET['module'] = 'API'; $_GET['method'] = 'CoreAdminHome.runCronArchiving'; $_GET['format'] = 'console'; // will use Content-type text/plain |