Skip to content

Commit fbc02f2

Browse files
author
Till Brehm
committed
Fixed path in ispconfig vhost in opensuse installer.
1 parent e68b401 commit fbc02f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install/dist/lib/opensuse.lib.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,9 @@ public function install_ispconfig()
11161116

11171117
$tpl->setVar('apache_version',getapacheversion());
11181118

1119-
wf($vhost_conf_dir.'/ispconfig.vhost', $tpl->grab());
1119+
$content = $tpl->grab();
1120+
$content = str_replace('/var/www/', '/srv/www/', $content);
1121+
wf($vhost_conf_dir.'/ispconfig.vhost', $content);
11201122

11211123
//if(!is_file('/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter')) {
11221124
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/apache_ispconfig_fcgi_starter.master', 'tpl/apache_ispconfig_fcgi_starter.master');

0 commit comments

Comments
 (0)