From de33f74b4040cc3f7880269152b277d90b081cc8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Apr 2010 17:16:45 +0000 Subject: - Patch #688704 by Crell, boombatower, noahb: give DB its own autoload function. --- includes/theme.maintenance.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/theme.maintenance.inc') diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index 1bfffa7ad..c19dd05db 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -39,6 +39,7 @@ function _drupal_maintenance_theme() { // Because we are operating in a crippled environment, we need to // bootstrap just enough to allow hook invocations to work. require_once DRUPAL_ROOT . '/includes/database/database.inc'; + spl_autoload_register('db_autoload'); $module_list['system']['filename'] = 'modules/system/system.module'; module_list(TRUE, FALSE, FALSE, $module_list); drupal_load('module', 'system'); -- cgit v1.2.3