Set autoload to false for 'class_exists' calls. Currently it is not set, so the default is true which causes any defined '__autoload' function in the included app to be called.

This commit is contained in:
humancopy 2011-05-18 18:34:29 +02:00
parent bf29c5e018
commit cd3b0cca0e
3 changed files with 3 additions and 3 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('RedisentCluster')) {
if(!class_exists('RedisentCluster', false)) {
require_once dirname(__FILE__) . '/../Redisent/RedisentCluster.php';
}