diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-11 17:16:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-11 17:16:45 +0000 |
commit | de33f74b4040cc3f7880269152b277d90b081cc8 (patch) | |
tree | 63bb72c64d10cb48d549df7f0d9b817df0c0c8eb /includes/theme.maintenance.inc | |
parent | b647348fa93e7915d9a19dc2f1fd598422dca999 (diff) | |
download | brdo-de33f74b4040cc3f7880269152b277d90b081cc8.tar.gz brdo-de33f74b4040cc3f7880269152b277d90b081cc8.tar.bz2 |
- Patch #688704 by Crell, boombatower, noahb: give DB its own autoload function.
Diffstat (limited to 'includes/theme.maintenance.inc')
-rw-r--r-- | includes/theme.maintenance.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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'); |