Commit 7b25351e authored by ergonlogic's avatar ergonlogic

Allow usage with Drush7, now that *.drush.load.inc's aren't being included.

parent 86a67234
......@@ -17,7 +17,8 @@ class Provision_Service_http_apache extends Provision_Service_http_public {
$this->configs['server'][] = 'Provision_Config_Apache_Server';
$this->configs['platform'][] = 'Provision_Config_Apache_Platform';
$this->configs['site'][] = 'Provision_Config_Apache_Site';
if (subdirs_drush_load()) {
$features = drush_get_option('hosting_features', array());
if (array_key_exists('subdirs', $features) && $features['subdirs']) {
$this->configs['site'][] = 'Provision_Config_Apache_Subdir';
$this->configs['site'][] = 'Provision_Config_Apache_SubdirVhost';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment