function _drush_bootstrap_drush_validate

6.x bootstrap.inc _drush_bootstrap_drush_validate()
3.x environment.inc _drush_bootstrap_drush_validate()
4.x environment.inc _drush_bootstrap_drush_validate()
5.x bootstrap.inc _drush_bootstrap_drush_validate()

Validate that Drush is running in a suitable environment.

File

includes/environment.inc, line 503
Functions used by drush to query the environment and setting the current configuration.

Code

function _drush_bootstrap_drush_validate() {
  // @todo _drush_environment_php_ini_checks() always returns TRUE.
  $return = _drush_environment_check_php_ini();
  if ($return !== TRUE) {
    return $return;
  }

  if (drush_environment_table_inc() === FALSE) {
    return FALSE;
  }

  return TRUE;
}