Move the timezone setting into the core file.
This commit is contained in:
parent
3e90009263
commit
1867f28ad6
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue