diff options
author | diosmosis <benaka@piwik.pro> | 2015-05-14 04:42:02 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-05-14 04:42:39 +0300 |
commit | e0f1fd541b27991c45c50fffe42cb0b184ab9b57 (patch) | |
tree | 48ae5e58673acede768cd3047b890e7cf8fe114c /misc | |
parent | d1576f3c38ef404b415d0b8d1af57fbd2d0074d9 (diff) |
Refs #7900, fix regression in cron/archive.php script, make sure the Common class is available before requiring bootstrap.php.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cron/archive.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php index e04dab2e71..8897f108ee 100644 --- a/misc/cron/archive.php +++ b/misc/cron/archive.php @@ -41,6 +41,8 @@ try 'php archive.php --url=http://your.piwik/path' \n\n"; } +require_once PIWIK_INCLUDE_PATH . '/core/Common.php'; + if (Piwik\Common::isPhpCliMode()) { require_once PIWIK_INCLUDE_PATH . "/core/bootstrap.php"; |