includes/bootstrap.inc, строка 1084
- 5 – 6
drupal_maintenance_theme()
Позволяет использовать тему не требуя подключения к базе данных.
Загружает и инициализирует тему при инсталляции сайта, его обновлении или когда сайт находится в режиме off-line. Также применяется при ошибках с базой данных.
См. также
_drupal_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 off-line mode. This also applies when the database fails.
See also
_drupal_maintenance_theme()
- drupal_site_offline in includes/common.inc
- Generates a site off-line message.
- install_main in ./install.php
- The Drupal installation happens in a series of steps. We begin by verifying
that the current environment meets our minimum requirements. We then go
on to verify that settings.php is properly configured. From there we
connect to the configured database...
- _db_error_page in includes/database.inc
- Вспомогательная функция для показа фатальных ошибок в базе данных.
Код
<?php
function drupal_maintenance_theme() {
require_once './includes/theme.maintenance.inc';
_drupal_maintenance_theme();
}
?>
Войдите или
зарегистрируйтесь, чтобы получить возможность отправлять комментарии