summaryrefslogtreecommitdiffstats
path: root/system/core/CodeIgniter.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-05-25 11:14:41 +0200
committerAndrey Andreev <narf@devilix.net>2017-05-25 11:14:41 +0200
commitab0010f543d88fa19506907684a9d329d4dd94e3 (patch)
tree7bd324bf307d4d1c8937b28cfe4d94a5a7ea169c /system/core/CodeIgniter.php
parent26ba694fb2aca751e8fa18e7c73f2c5e0c1c13ab (diff)
[ci skip] Fix #5131
Diffstat (limited to 'system/core/CodeIgniter.php')
-rw-r--r--system/core/CodeIgniter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index b5c2bedf4..0fab092e5 100644
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -434,7 +434,7 @@ if ( ! is_php('5.4'))
* ReflectionMethod::isConstructor() is the ONLY reliable check,
* knowing which method will be executed as a constructor.
*/
- elseif ( ! is_callable(array($class, $method)) && strcasecmp($class, $method) === 0)
+ elseif ( ! is_callable(array($class, $method)))
{
$reflection = new ReflectionMethod($class, $method);
if ( ! $reflection->isPublic() OR $reflection->isConstructor())