Move the timezone setting into the core file.
This commit is contained in:
@@ -7,13 +7,6 @@
|
|||||||
*/
|
*/
|
||||||
require 'core.php';
|
require 'core.php';
|
||||||
|
|
||||||
/**
|
|
||||||
* Register the default timezone for the application. This will be
|
|
||||||
* the default timezone used by all date / timezone functions in
|
|
||||||
* the entire application.
|
|
||||||
*/
|
|
||||||
date_default_timezone_set(Config::$items['application']['timezone']);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the exception logging function. All of the error logging
|
* Create the exception logging function. All of the error logging
|
||||||
* is routed through here to avoid duplicate code. This Closure
|
* is routed through here to avoid duplicate code. This Closure
|
||||||
|
|||||||
Reference in New Issue
Block a user