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