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
Guilherme Filippo
ISPConfig 3
Commits
9de0c46b
Commit
9de0c46b
authored
Mar 04, 2009
by
tbrehm
Browse files
added ispconfig.conf apache include for fedora and opensuse.
parent
9234cc83
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
9de0c46b
...
...
@@ -422,6 +422,15 @@ class installer_dist extends installer_base {
}
unset
(
$content
);
//* Copy the ISPConfig configuration include
$vhost_conf_dir
=
$conf
[
'apache'
][
'vhost_conf_dir'
];
$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
.
"/000-ispconfig.conf"
))
{
exec
(
"ln -s "
.
$vhost_conf_dir
.
"/ispconfig.conf "
.
$vhost_conf_enabled_dir
.
"/000-ispconfig.conf"
);
}
}
public
function
configure_firewall
()
...
...
install/dist/lib/opensuse.lib.php
View file @
9de0c46b
...
...
@@ -430,6 +430,15 @@ class installer_dist extends installer_base {
}
unset
(
$content
);
//* Copy the ISPConfig configuration include
$vhost_conf_dir
=
$conf
[
'apache'
][
'vhost_conf_dir'
];
$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
.
"/000-ispconfig.conf"
))
{
exec
(
"ln -s "
.
$vhost_conf_dir
.
"/ispconfig.conf "
.
$vhost_conf_enabled_dir
.
"/000-ispconfig.conf"
);
}
}
public
function
configure_firewall
()
...
...
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