Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
application/config/application.php
+1
-1
laravel/core.php
+9
-2
laravel/laravel.php
+0
-7
No files found.
application/config/application.php
View file @
5b6b156b
...
@@ -110,7 +110,7 @@ return array(
...
@@ -110,7 +110,7 @@ return array(
| referring to the class using its full namespace, you may simply use
| referring to the class using its full namespace, you may simply use
| the alias defined here.
| 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)
...
@@ -57,4 +57,11 @@ foreach ($bundles as $bundle => $value)
if
(
is_numeric
(
$bundle
))
$bundle
=
$value
;
if
(
is_numeric
(
$bundle
))
$bundle
=
$value
;
Bundle
::
register
(
$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
...
@@ -8,13 +8,6 @@
...
@@ -8,13 +8,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 throughout
* the entire application.
*/
date_default_timezone_set
(
Config
::
get
(
'application.timezone'
));
/**
* Register the PHP exception handler. The framework throws exceptions
* Register the PHP exception handler. The framework throws exceptions
* on every error that cannot be handled. All of those exceptions will
* on every error that cannot be handled. All of those exceptions will
* be sent through this closure for processing.
* be sent through this closure for processing.
...
...
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