commit | 1cf89aab5fff8c8068cbf0ed18038b6e4fd4f605 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Sep 03 18:24:39 2006 +0000 |
committer | admin <devnull@localhost> | Sun Sep 03 18:24:39 2006 +0000 |
tree | 18ee7e5d935161e64460f55a1ce8ddceb2cbe046 | |
parent | 6ac4bea2da9e64fb0b434f52177353f6bd65b8e6 [diff] [blame] |
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 1f7850e..5c3d19b 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php
@@ -192,13 +192,20 @@ { $method = 'index'; } - - if ( ! method_exists($CI, $method)) - { - show_404(); - } - $CI->$method(); + if (method_exists($CI, '_remap')) + { + $CI->_remap($method); + } + else + { + if ( ! method_exists($CI, $method)) + { + show_404(); + } + + $CI->$method(); + } } /*