You are here

function install_verify_drupal in Drupal 6

Same name and namespace in other branches
  1. 5 install.php \install_verify_drupal()

Verify if Drupal is installed.

1 call to install_verify_drupal()
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…

File

./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));
  }
}