Commit 5b6b156b authored by Taylor Otwell's avatar Taylor Otwell

move timezone set into core bootstrap.

parent 8b2f3e84
......@@ -110,7 +110,7 @@ return array(
| referring to the class using its full namespace, you may simply use
| the alias defined here.
|
| We have already aliased common Laravel classes to make your life easier.
| We have already aliased common Laravel classes to make life easier.
|
*/
......
......@@ -57,4 +57,11 @@ foreach ($bundles as $bundle => $value)
if (is_numeric($bundle)) $bundle = $value;
Bundle::register($bundle, $value);
}
\ No newline at end of file
}
/**
* Register the default timezone for the application. This will
* be the default timezone used by all date functions through
* throughout the entire application.
*/
date_default_timezone_set(Config::get('application.timezone'));
\ No newline at end of file
......@@ -7,13 +7,6 @@
*/
require 'core.php';
/**
* Register the default timezone for the application. This will be the
* default timezone used by all date / timezone functions throughout
* the entire application.
*/
date_default_timezone_set(Config::get('application.timezone'));
/**
* Register the PHP exception handler. The framework throws exceptions
* on every error that cannot be handled. All of those exceptions will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment