summaryrefslogtreecommitdiffstats
path: root/system/codeigniter/CodeIgniter.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-08-26 06:51:38 +0200
committeradmin <devnull@localhost>2006-08-26 06:51:38 +0200
commit45c872b0ac215d590e785fe393241a06facd7e05 (patch)
tree3dbf4231d25f109f814cd5b53573ab8e15f99799 /system/codeigniter/CodeIgniter.php
parentd4e95072203a5cf4f1d50d16fe3e490f275a4307 (diff)
Diffstat (limited to 'system/codeigniter/CodeIgniter.php')
-rw-r--r--system/codeigniter/CodeIgniter.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php
index aef7618e9..de7f89af2 100644
--- a/system/codeigniter/CodeIgniter.php
+++ b/system/codeigniter/CodeIgniter.php
@@ -101,16 +101,6 @@ else
/*
* ------------------------------------------------------
- * Does the requested controller exist?
- * ------------------------------------------------------
- */
-if ( ! file_exists(APPPATH.'controllers/'.$RTR->fetch_class().EXT))
-{
- show_404();
-}
-
-/*
- * ------------------------------------------------------
* Load the remaining base classes
* ------------------------------------------------------
*/
@@ -132,7 +122,6 @@ $LANG =& _load_class('CI_Language');
*
*/
-
_load_class('CI_Loader');
if (floor(phpversion()) < 5)
@@ -146,7 +135,7 @@ else
_load_class('CI_Controller');
-require(APPPATH.'controllers/'.$RTR->fetch_class().EXT);
+require(APPPATH.'controllers/'.$RTR->fetch_directory().$RTR->fetch_class().EXT);
/*
* ------------------------------------------------------