function _theme_load_offline_registry

7.x theme.maintenance.inc _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine = NULL)
6.x theme.maintenance.inc _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine = NULL)

This builds the registry when the site needs to bypass any database calls.

1 string reference to '_theme_load_offline_registry'
_drupal_maintenance_theme in drupal-6.x/includes/theme.maintenance.inc
Sets up the theming system for site installs, updates and when the site is in off-line mode. It also applies when the database is unavailable.

File

drupal-6.x/includes/theme.maintenance.inc, line 76
Theming for maintenance pages.

Code

function _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine = NULL) {
  $registry = _theme_build_registry($theme, $base_theme, $theme_engine);
  _theme_set_registry($registry);
}