diff options
author | Andrey Andreev <narf@devilix.net> | 2016-02-24 11:14:10 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-02-24 11:14:10 +0100 |
commit | 97d0878bd3bf3c90364f85ad541c6a078b93c3f1 (patch) | |
tree | 922d2820f9948fde066eac46045734b23dac73ba /system/libraries/Session/Session.php | |
parent | a64d2262e37ea9308865f5d81c1b1ccdfaa52721 (diff) | |
parent | 82d5c231d55aa290a2739d01055a9b8e6c8243a6 (diff) |
Merge pull request #4480 from versalle88/develop
Changed class_exists() calls to ignore __autoload()
Diffstat (limited to 'system/libraries/Session/Session.php')
-rw-r--r-- | system/libraries/Session/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php index b93c00c15..77c56ae70 100644 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php @@ -231,7 +231,7 @@ class CI_Session { } } - if ( ! class_exists($prefix.$class) && file_exists($file_path = APPPATH.'libraries/Session/drivers/'.$prefix.$class.'.php')) + if ( ! class_exists($prefix.$class, FALSE) && file_exists($file_path = APPPATH.'libraries/Session/drivers/'.$prefix.$class.'.php')) { require_once($file_path); if (class_exists($prefix.$class, FALSE)) |