diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-28 05:14:09 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-28 05:14:09 +0400 |
commit | 22e8a7a3e1cdc324a2f40dc05e23e86ec333635c (patch) | |
tree | 859bf295edc1b872e44517523d3e89037f7b7969 /console | |
parent | 77cd310f7164196bb843e23011508b15a2c8f371 (diff) |
Setting the default timezone to UTC in the core:archive script, refs #5043
This could potentially cause some big problems.
Diffstat (limited to 'console')
-rwxr-xr-x | console | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ if (!defined('PIWIK_USER_PATH')) { } require_once PIWIK_INCLUDE_PATH . '/core/testMinimumPhpVersion.php'; + +@date_default_timezone_set('UTC'); + require_once file_exists(PIWIK_INCLUDE_PATH . '/vendor/autoload.php') ? PIWIK_INCLUDE_PATH . '/vendor/autoload.php' // Piwik is the main project : PIWIK_INCLUDE_PATH . '/../../autoload.php'; // Piwik is installed as a dependency |