Logo Search packages:      
Sourcecode: aegir-provision version File versions  Download package

_provision_drupal_valid_site (  ) 

Validate a site exists, ie: has a settings.php file

This will return an error for sites that haven't been created yet

Definition at line 109 of file provision_drupal.drush.inc.

References _provision_drupal_site_exists().

                                        {
  if (PROVISION_CONTEXT_SITE) {
    if (!_provision_drupal_site_exists(drush_get_option('site_url'))) {
      drush_set_error('PROVISION_DRUPAL_SITE_NOT_FOUND');
    }
  }
}


Generated by  Doxygen 1.6.0   Back to index