install_no_profile_error

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

./install.php, строка 498

Версии
5 – 6
install_no_profile_error()

Show an error page when there are no profiles available.

▾ 3 функции вызывают install_no_profile_error()

drupal_check_profile in includes/install.inc
Check a profile's requirements.
drupal_verify_profile in includes/install.inc
Verify a profile for installation.
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...

Код

<?php
function install_no_profile_error() {
  drupal_maintenance_theme();
  drupal_set_title(st('No profiles available'));
  print theme('install_page', '<p>'. st('We were unable to find any installer profiles. Installer profiles tell us what modules to enable and what schema to install in the database. A profile is necessary to continue with the installation process.') .'</p>');
  exit;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему