function install_verify_drupal

6.x install.php install_verify_drupal()

Verify if Drupal is installed.

1 call to install_verify_drupal()
install_main in drupal-6.x/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…

File

drupal-6.x/install.php, line 165

Code

function install_verify_drupal() {
  // Read the variable manually using the @ so we don't trigger an error if it fails.
  $result = @db_query("SELECT value FROM {variable} WHERE name = '%s'", 'install_task');
  if ($result) {
    return unserialize(db_result($result));
  }
}