From cc5b8e6aee945408b64bf90f434922fb454cfc4f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Apr 2010 21:05:13 +0000 Subject: - Patch #688704 by Crell, boombatower, andypost, noahb: give DB its own autoload function. --- includes/bootstrap.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index c5e3bd915..889d0e40a 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2401,6 +2401,7 @@ function drupal_autoload_class($class) { */ function _registry_check_code($type, $name = NULL) { static $lookup_cache, $cache_update_needed; + if ($type == 'class' && class_exists($name) || $type == 'interface' && interface_exists($name)) { return TRUE; } -- cgit v1.2.3