drupal_installation_attempted
- 7
drupal_installation_attempted()
Return TRUE if a Drupal installation is currently being attempted.
- drupal_redirect_form in includes/form.inc
- Redirects the user to a URL after a form has been processed.
- get_t in includes/bootstrap.inc
- Return the name of the localization function. Use in code that needs to
run both during installation and normal operation.
- _db_check_install_needed in includes/database/database.inc
- Redirect the user to the installation script if Drupal has not been
installed yet (i.e., if no $databases array has been defined in the
settings file) and we are not already there. Otherwise, do nothing.
Code
includes/bootstrap.inc, line 1718
<?php
function drupal_installation_attempted() {
return defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'install';
}
?>
Login or
register to post comments