We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c7932 commit 3f7f1e8Copy full SHA for 3f7f1e8
1 file changed
install/lib/installer_base.lib.php
@@ -2047,8 +2047,8 @@ public function configure_apps_vhost() {
2047
//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");
2048
//* and create the symlink
2049
if(@is_link($vhost_conf_enabled_dir.'/apps.vhost')) unlink($vhost_conf_enabled_dir.'/apps.vhost');
2050
- if(!@is_link($vhost_conf_enabled_dir.'/000-apps.vhost')) {
2051
- symlink($vhost_conf_dir.'/apps.vhost', $vhost_conf_enabled_dir.'/000-apps.vhost');
+ if(!@is_link($vhost_conf_enabled_dir.'/000-apps.vhost') && @is_file($vhost_conf_dir.'/apps.vhost')) {
+ @symlink($vhost_conf_dir.'/apps.vhost', $vhost_conf_enabled_dir.'/000-apps.vhost');
2052
}
2053
2054
if(!is_file($conf['web']['website_basedir'].'/php-fcgi-scripts/apps/.php-fcgi-starter')) {
0 commit comments