summaryrefslogtreecommitdiffstats
path: root/system/codeigniter/CodeIgniter.php
diff options
context:
space:
mode:
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);
/*
* ------------------------------------------------------