diff --git a/application/config/application.php b/application/config/application.php index b2ddacc8..568dc7b5 100644 --- a/application/config/application.php +++ b/application/config/application.php @@ -110,7 +110,7 @@ | 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. | */ diff --git a/laravel/core.php b/laravel/core.php index 2eabb864..2cc42994 100644 --- a/laravel/core.php +++ b/laravel/core.php @@ -57,4 +57,11 @@ 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 diff --git a/laravel/laravel.php b/laravel/laravel.php index 0ba4f4d4..c12ca3d4 100644 --- a/laravel/laravel.php +++ b/laravel/laravel.php @@ -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