Add a default timezone for install.php

This commit is contained in:
Mark Crane 2014-05-01 23:54:52 +00:00
parent 5babc55326
commit 06164f42da
1 changed files with 3 additions and 0 deletions

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