Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
8804ba6f
Commit
8804ba6f
authored
Dec 21, 2008
by
tbrehm
Browse files
Undo: chenged apache vhosts link-prefix
parent
dfefc46f
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
8804ba6f
...
...
@@ -704,8 +704,8 @@ class installer_base {
$vhost_conf_enabled_dir
=
$conf
[
'apache'
][
'vhost_conf_enabled_dir'
];
copy
(
'tpl/apache_ispconfig.conf.master'
,
$vhost_conf_dir
.
'/ispconfig.conf'
);
if
(
!@
is_link
(
$vhost_conf_enabled_dir
.
"/00
1
-ispconfig.conf"
))
{
exec
(
"ln -s "
.
$vhost_conf_dir
.
"/ispconfig.conf "
.
$vhost_conf_enabled_dir
.
"/00
1
-ispconfig.conf"
);
if
(
!@
is_link
(
$vhost_conf_enabled_dir
.
"/00
0
-ispconfig.conf"
))
{
exec
(
"ln -s "
.
$vhost_conf_dir
.
"/ispconfig.conf "
.
$vhost_conf_enabled_dir
.
"/00
0
-ispconfig.conf"
);
}
}
...
...
@@ -975,8 +975,8 @@ class installer_base {
//* and create the symlink
if
(
$this
->
install_ispconfig_interface
==
true
&&
$this
->
is_update
==
false
)
{
if
(
@
is_link
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
))
unlink
(
"
$vhost_conf_enabled_dir
/ispconfig.vhost"
);
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/00
2
-ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/00
2
-ispconfig.vhost"
);
if
(
!@
is_link
(
"
$vhost_conf_enabled_dir
/00
0
-ispconfig.vhost"
))
{
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/00
0
-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