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
c67a010c
Commit
c67a010c
authored
Nov 10, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring some classes.
parent
8ae9324c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
laravel/bootstrap/core.php
+0
-1
laravel/container.php
+2
-0
laravel/url.php
+1
-1
No files found.
laravel/bootstrap/core.php
View file @
c67a010c
...
...
@@ -58,7 +58,6 @@ require SYS_PATH.'autoloader'.EXT;
* request rather than parse the keys for every request.
*/
Config
::
load
(
'application'
);
Config
::
load
(
'container'
);
Config
::
load
(
'session'
);
/**
...
...
laravel/container.php
View file @
c67a010c
...
...
@@ -16,6 +16,8 @@ class IoC {
*/
public
static
function
bootstrap
()
{
Config
::
load
(
'container'
);
static
::
$container
=
new
Container
(
Config
::
$items
[
'container'
]);
}
...
...
laravel/url.php
View file @
c67a010c
...
...
@@ -90,7 +90,7 @@ class URL {
*/
public
static
function
to_route
(
$name
,
$parameters
=
array
(),
$https
=
false
)
{
if
(
!
is_null
(
$route
=
IoC
::
co
ntainer
()
->
co
re
(
'routing.router'
)
->
find
(
$name
)))
if
(
!
is_null
(
$route
=
IoC
::
core
(
'routing.router'
)
->
find
(
$name
)))
{
$uris
=
explode
(
', '
,
key
(
$route
));
...
...
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