Commit 22fceb95 authored by anarcat's avatar anarcat Committed by anarcat

don't prepend an underscore to the platform configuration file, otherwise it gets ignored by apache

it's still safe from being overwritten by another domain because there's an underscore in the filename

See: #384972
parent c1c1e975
......@@ -7,8 +7,7 @@ function provision_apache_provision_verify($url) {
$options = drush_get_context('options');
$data['extra_config'] = "# Extra configuration from modules:\n";
$data['extra_config'] .= join("\n", drush_command_invoke_all('provision_apache_dir_config', $data));
drush_log('invoked, got: ' . var_export($data['extra_config'], TRUE));
_provision_apache_create_config('_platform_' . $options['platform'] . '.conf', $data, _provision_apache_platform_template());
_provision_apache_create_config('platform_' . $options['platform'] . '.conf', $data, _provision_apache_platform_template());
}
else {
_provision_apache_create_vhost_config($url);
......
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