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

_provision_drupal_valid_installed_site (  ) 

Validate a site has been installed, by checking it's site.php file.

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

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

References _provision_drupal_site_installed().

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


Generated by  Doxygen 1.6.0   Back to index