Commit f40d5608 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Regenerate vhost configuration on verify

parent 3d384ee9
<?php
function provision_apache_provision_verify() {
_provision_create_dir(PROVISION_VHOST_PATH, dt("Virtual host configuration"), 0700);
function provision_apache_provision_verify($data, $url) {
if (PROVISION_CONTEXT_PLATFORM) {
_provision_create_dir(PROVISION_VHOST_PATH, dt("Virtual host configuration"), 0700);
}
else {
_provision_apache_create_vhost_config($data, $url);
}
_provision_apache_restart_apache(TRUE);
}
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