From 20bac50d4a67dc44b2a40f03162a4d0d244448ce Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 9 Jan 2010 22:01:42 +0000 Subject: #299308 by redndahead, Dave Reid, dropcube, catch, redndahead, and dbabbage: Add POD to installation requirements. --- includes/theme.maintenance.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/theme.maintenance.inc') diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index daccdb13d..14d543f29 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -28,7 +28,6 @@ function _drupal_maintenance_theme() { require_once DRUPAL_ROOT . '/includes/unicode.inc'; require_once DRUPAL_ROOT . '/includes/file.inc'; require_once DRUPAL_ROOT . '/includes/module.inc'; - require_once DRUPAL_ROOT . '/includes/database/database.inc'; unicode_check(); // Install and update pages are treated differently to prevent theming overrides. @@ -39,6 +38,7 @@ function _drupal_maintenance_theme() { if (!db_is_active()) { // 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'; $module_list['system']['filename'] = 'modules/system/system.module'; module_list(TRUE, FALSE, FALSE, $module_list); drupal_load('module', 'system'); -- cgit v1.2.3