Add a default timezone for install.php

This commit is contained in:
Mark Crane
2014-05-01 23:54:52 +00:00
parent 1517a48e26
commit 0c87f27b35

View File

@@ -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];