diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-01-31 03:17:11 +0100 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-01-31 03:17:11 +0100 |
commit | c5bf616c68ab4d18777ba77d5eaf07384b392f78 (patch) | |
tree | 8f7f0d69b66b967fca77d015c281833d54443559 /system/core/Router.php | |
parent | c7f2bd28a8b26a6ed61f83f1d75fdd78aa37ebfe (diff) |
Added 404_override to Codeigniter file to catch the 404 if the controller is available but no method. Fixes #19
Diffstat (limited to 'system/core/Router.php')
-rw-r--r-- | system/core/Router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Router.php b/system/core/Router.php index 7be508fef..6893e6e92 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -270,7 +270,7 @@ class CI_Router { // If we've gotten this far it means that the URI does not correlate to a valid // controller class. We will now see if there is an override - if (!empty($this->routes['404_override'])) + if ( ! empty($this->routes['404_override'])) { $x = explode('/', $this->routes['404_override']); |