diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-11-09 20:46:13 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-11-09 20:46:13 +0100 |
commit | 63277b81edde11b77ff94cbf1c3e5db16c97c4bf (patch) | |
tree | e03d08dcba5de6a97576bbdd6565891dc1d98256 /system/core/CodeIgniter.php | |
parent | 6b6c274e00fe2357004c0a4e38e6bdb0b2e0ddb4 (diff) |
Fix #62 Adding CI_ prefix to Controller.
Diffstat (limited to 'system/core/CodeIgniter.php')
-rw-r--r-- | system/core/CodeIgniter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index e701cc323..3dfefc2ef 100644 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php @@ -261,7 +261,7 @@ if ( ! class_exists($class) OR $method == 'controller' OR strncmp($method, '_', 1) == 0 - OR in_array(strtolower($method), array_map('strtolower', get_class_methods('Controller'))) + OR in_array(strtolower($method), array_map('strtolower', get_class_methods('CI_Controller'))) ) { show_404("{$class}/{$method}"); |