Skip to content

Commit

Permalink
Setting the default timezone to UTC in the core:archive script, refs m…
Browse files Browse the repository at this point in the history
…atomo-org#5043

This could potentially cause some big problems.
  • Loading branch information
mattab committed Apr 28, 2014
1 parent 77cd310 commit 22e8a7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions console
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e8a7a

Please sign in to comment.