move timezone set into core bootstrap.
This commit is contained in:
@@ -57,4 +57,11 @@ foreach ($bundles as $bundle => $value)
|
||||
if (is_numeric($bundle)) $bundle = $value;
|
||||
|
||||
Bundle::register($bundle, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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'));
|
||||
Reference in New Issue
Block a user