Commit 71a4de73 authored by helmo's avatar helmo

Issue #2853184: Fix whitespace

parent 966277cc
......@@ -167,7 +167,7 @@ class Provision_Config {
* array.
*/
private function render_template($template, $variables) {
// Allow modules to alter the variables before writing to the template.
// @see hook_provision_config_variables_alter()
drush_command_invoke_all_ref('provision_config_variables_alter', $variables, $template, $this);
......
......@@ -231,10 +231,10 @@ function hook_provision_config_load_templates_alter(&$templates, $config) {
* @see hook_provision_config_load_templates_alter()
*/
function hook_provision_config_variables_alter(&$variables, $template, $config) {
// If this is the vhost template and the http service is Docker...
if (is_a($config, 'Provision_Config_Apache_Site') && is_a(d()->platform->service('http'), 'Provision_Service_http_apache_docker')) {
// Force the listen port to be 80.
$variables['http_port'] = '80';
}
......
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