summaryrefslogtreecommitdiffstats
path: root/system/libraries/Router.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-04-26 21:19:25 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-04-26 21:19:25 +0200
commitf9d5348cf2776374bf09bdda8c941198167d9ae9 (patch)
tree211a62991776ce1808751f1ccf5f74f365681115 /system/libraries/Router.php
parent2f9559736080f8386fec1bb5a1d99bd9855e2a4d (diff)
Unit Testing results are now colour coded, and a change was made to the default template of results.
Diffstat (limited to 'system/libraries/Router.php')
-rw-r--r--system/libraries/Router.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
index d9dd6dd3f..804e80bd2 100644
--- a/system/libraries/Router.php
+++ b/system/libraries/Router.php
@@ -204,7 +204,7 @@ class CI_Router {
// Does the requested controller exist in the sub-folder?
if ( ! file_exists(APPPATH.'controllers/'.$this->fetch_directory().$segments[0].EXT))
{
- show_404($this->fetch_directory().$segments[0]);
+ show_404($this->fetch_directory().$segments[0]);
}
}
else
@@ -220,16 +220,16 @@ class CI_Router {
}
}
-
+
return $segments;
}
-
+
// Can't find the requested controller...
- show_404($segments[0]);
+ show_404($segments[0]);
}
-
+
// --------------------------------------------------------------------
-
+
/**
* Parse Routes
*