summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dmemcache.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dmemcache.inc b/dmemcache.inc
index 98a838f..02df1cb 100644
--- a/dmemcache.inc
+++ b/dmemcache.inc
@@ -637,14 +637,14 @@ function dmemcache_extension() {
if ($extension === NULL) {
// If an extension is specified in settings.php, use that when available.
$preferred = variable_get('memcache_extension', NULL);
- if (isset($preferred) && class_exists($preferred)) {
+ if (isset($preferred) && class_exists($preferred, FALSE)) {
$extension = ucfirst(strtolower($preferred));
}
// If no extension is set, default to Memcache.
- elseif (class_exists('Memcache')) {
+ elseif (class_exists('Memcache', FALSE)) {
$extension = 'Memcache';
}
- elseif (class_exists('Memcached')) {
+ elseif (class_exists('Memcached', FALSE)) {
$extension = 'Memcached';
}
else {