Commit 2db3f3b0 authored by omega8cc's avatar omega8cc Committed by omega8cc

Issue #2718711 by fabsor, omega8cc: Allow sites to be put in multi-level sub directories

parent 7b12016d
......@@ -56,6 +56,7 @@ class Provision_Config_Apache_Subdir extends Provision_Config_Http {
}
function filename() {
return $this->data['http_subdird_path'] . '/' . $this->uri() . '/' . $this->subdir() . '.conf';
$filename = str_replace('/', '_', $this->subdir());
return $this->data['http_subdird_path'] . '/' . $this->uri() . '/' . $filename . '.conf';
}
}
......@@ -56,6 +56,7 @@ class Provision_Config_Nginx_Subdir extends Provision_Config_Http {
}
function filename() {
return $this->data['http_subdird_path'] . '/' . $this->uri() . '/' . $this->subdir() . '.conf';
$filename = str_replace('/', '_', $this->subdir());
return $this->data['http_subdird_path'] . '/' . $this->uri() . '/' . $filename . '.conf';
}
}
This diff is collapsed.
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