Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
5b6b156b
Commit
5b6b156b
authored
Feb 06, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move timezone set into core bootstrap.
parent
8b2f3e84
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
application.php
application/config/application.php
+1
-1
core.php
laravel/core.php
+8
-1
laravel.php
laravel/laravel.php
+0
-7
No files found.
application/config/application.php
View file @
5b6b156b
...
...
@@ -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.
|
*/
...
...
laravel/core.php
View file @
5b6b156b
...
...
@@ -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
laravel/laravel.php
View file @
5b6b156b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment