drupal_installation_attempted

Versions
mediamosa-21
drupal_installation_attempted()

Return TRUE if a Drupal installation is currently being attempted.

▾ 3 functions call drupal_installation_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
Redirects the user to the installation script.

Code

includes/bootstrap.inc, line 2037

<?php
function drupal_installation_attempted() {
  return defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'install';
}
?>