Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
0c78af29
Commit
0c78af29
authored
Nov 18, 2008
by
tbrehm
Browse files
Fixed: Doouble Entry for isp vhost by isp3 update
parent
e0367642
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
0c78af29
...
...
@@ -624,8 +624,9 @@ class installer_dist extends installer_base {
//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");
//* and create the symlink
if
(
$this
->
install_ispconfig_interface
==
true
)
{
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
unlink
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
);
}
}
...
...
install/dist/lib/opensuse.lib.php
View file @
0c78af29
...
...
@@ -642,8 +642,9 @@ class installer_dist extends installer_base {
//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");
//* and create the symlink
if
(
$this
->
install_ispconfig_interface
==
true
)
{
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
unlink
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
);
}
}
...
...
install/lib/installer_base.lib.php
View file @
0c78af29
...
...
@@ -837,7 +837,7 @@ class installer_base {
//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");
//* and create the symlink
if
(
$this
->
install_ispconfig_interface
==
true
)
{
if
(
!
@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
unlink
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
unlink
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment