1.20.x bootstrap.inc backdrop_maintenance_theme()

Enables use of the theme system without requiring database access.

Loads and initializes the theme system for site installs, updates and when the site is in maintenance mode. This also applies when the database fails.

See also

_backdrop_maintenance_theme()

File

includes/bootstrap.inc, line 3643
Functions that need to be loaded on every Backdrop request.

Code

function backdrop_maintenance_theme() {
  require_once BACKDROP_ROOT . '/core/includes/theme.maintenance.inc';
  _backdrop_maintenance_theme();
}