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
44d14df3
Commit
44d14df3
authored
Jul 11, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added note to Route\Finder.
parent
9249ab7d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
system/route/finder.php
+3
-0
No files found.
system/route/finder.php
View file @
44d14df3
...
@@ -24,6 +24,9 @@ class Finder {
...
@@ -24,6 +24,9 @@ class Finder {
*/
*/
public
static
function
find
(
$name
)
public
static
function
find
(
$name
)
{
{
// This class maintains its own list of routes because the router only loads routes that
// are applicable to the current request URI. But, this class obviously needs access
// 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
=
(
is_dir
(
APP_PATH
.
'routes'
))
?
static
::
load
()
:
require
APP_PATH
.
'routes'
.
EXT
;
...
...
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