Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'console')
-rwxr-xr-xconsole3
1 files changed, 3 insertions, 0 deletions
diff --git a/console b/console
index 0e3dc3ff8a..bb901dfed7 100755
--- a/console
+++ b/console
@@ -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