Merge pull request #18 from humancopy/master

A small fix for a small bug with __autoload and class_exists :)
This commit is contained in:
Chris Boulton 2011-12-07 04:07:42 -08:00
commit cd47df2458
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?php
// Third- party apps may have already loaded Resident from elsewhere
// so lets be careful.
if(!class_exists('Redisent')) {
if(!class_exists('Redisent', false)) {
require_once dirname(__FILE__) . '/../Redisent/Redisent.php';
}

View File

@ -1,7 +1,7 @@
<?php
// Third- party apps may have already loaded Resident from elsewhere
// so lets be careful.
if(!class_exists('RedisentCluster')) {
if(!class_exists('RedisentCluster', false)) {
require_once dirname(__FILE__) . '/../Redisent/RedisentCluster.php';
}