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
65d38526
Commit
65d38526
authored
Jul 16, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop'
parents
baf46fa8
3dfc8d4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
index.php
public/index.php
+1
-1
finder.php
system/route/finder.php
+6
-1
No files found.
public/index.php
View file @
65d38526
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
*
*
* @package Laravel
* @package Laravel
* @version 1.2.1
* @version 1.2.1
* @author Taylor Otwell
* @author Taylor Otwell
1
* @license MIT License
* @license MIT License
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
system/route/finder.php
View file @
65d38526
...
@@ -29,7 +29,12 @@ class Finder {
...
@@ -29,7 +29,12 @@ class Finder {
// to all of the routes, not just the ones applicable to the request URI.
// to all of the routes, not just the ones applicable to the request URI.
if
(
is_null
(
static
::
$routes
))
if
(
is_null
(
static
::
$routes
))
{
{
static
::
$routes
=
(
is_dir
(
APP_PATH
.
'routes'
))
?
static
::
load
()
:
require
APP_PATH
.
'routes'
.
EXT
;
static
::
$routes
=
require
APP_PATH
.
'routes'
.
EXT
;
if
(
is_dir
(
APP_PATH
.
'routes'
))
{
static
::
$routes
=
array_merge
(
static
::
load
(),
static
::
$routes
);
}
}
}
if
(
array_key_exists
(
$name
,
static
::
$names
))
if
(
array_key_exists
(
$name
,
static
::
$names
))
...
...
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