From 06164f42da50abff9096b0bb5ce757f49b934efd Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 1 May 2014 23:54:52 +0000 Subject: [PATCH] Add a default timezone for install.php --- resources/install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/install.php b/resources/install.php index 678cee6325..41e5c7170e 100644 --- a/resources/install.php +++ b/resources/install.php @@ -41,6 +41,9 @@ require_once "resources/functions.php"; error_reporting (E_ALL ^ E_NOTICE); // Report everything //error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings +//set the default time zone + date_default_timezone_set('UTC'); + //get the domain $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0];