Skip to content

Commit 9ac95d2

Browse files
committed
1 parent 8abf241 commit 9ac95d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
*/
297297

298298
//** Customise the port ISPConfig runs on
299-
$conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', '8080');
299+
$inst->conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', '8080');
300300

301301
$inst->install_ispconfig_interface = true;
302302

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ public function install_ispconfig()
731731
// Dont just copy over the virtualhost template but add some custom settings
732732

733733
$content = rf("tpl/apache_ispconfig.vhost.master");
734-
$content = str_replace('{vhost_port}', $conf['apache']['vhost_port'], $content);
734+
$content = str_replace('{vhost_port}', $this->conf['apache']['vhost_port'], $content);
735735
wf("$vhost_conf_dir/ispconfig.vhost", $content);
736736

737737
//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");

0 commit comments

Comments
 (0)