Commit 6bd3a5f4 authored by drumm's avatar drumm Committed by Neil Drumm

Use more-correct variables, going to the top-level instead of potentially a cluster server.

parent 34498737
......@@ -102,7 +102,7 @@ class provisionConfig_apache_platform extends provisionConfig_apache {
public $description = 'apache platform configuration file';
function filename() {
return $this->server->apache_platform_conf_path . '/' . ltrim($this->owner, '@') . '.conf';
return $this->apache_platform_conf_path . '/' . ltrim(d()->name, '@') . '.conf';
}
function process() {
......
<Directory <?php print $this->root; ?>>
<Directory <?php print d()->root; ?>>
Order allow,deny
Allow from all
<?php print $extra_config; ?>
......
......@@ -28,7 +28,7 @@ class provisionService_http extends provisionService {
}
function verify() {
switch ($this->server()->type) {
switch (d()->type) {
case 'server':
$this->create_server_config();
break;
......
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