Skip to content

Commit 453d985

Browse files
committed
Merge pull request chrisboulton#68 from scragg0x/patch-1
Disable autoload for the class_exists func
2 parents 64cd187 + a8a7db5 commit 453d985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Redisent/Redisent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Wraps native Redis errors in friendlier PHP exceptions
1414
* Only declared if class doesn't already exist to ensure compatibility with php-redis
1515
*/
16-
if (! class_exists('RedisException')) {
16+
if (! class_exists('RedisException', false)) {
1717
class RedisException extends Exception {
1818
}
1919
}

0 commit comments

Comments
 (0)