Skip to content
Extraits de code Groupes Projets
Valider 22e8a7a3 rédigé par mattab's avatar mattab
Parcourir les fichiers

Setting the default timezone to UTC in the core:archive script, refs #5043

This could potentially cause some big problems.
parent 77cd310f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter