diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-02-21 15:30:55 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-02-21 15:30:55 +0100 |
commit | 49e68de96b420a444c826995746a5f09470e76d9 (patch) | |
tree | c71077bcb4c1bf83971928cec589646ad445343d /system/core/Hooks.php | |
parent | 3e01437a5b23d9ffdf1b1cc9fc0a0f8b66551342 (diff) |
Disable autoloader call from class_exists() occurences to improve performance
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
Diffstat (limited to 'system/core/Hooks.php')
-rw-r--r-- | system/core/Hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php index 17f6a027e..b3b111991 100644 --- a/system/core/Hooks.php +++ b/system/core/Hooks.php @@ -195,7 +195,7 @@ class CI_Hooks { // Call the requested class and/or function if ($class !== FALSE) { - if ( ! class_exists($class)) + if ( ! class_exists($class, FALSE)) { require($filepath); } |