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
lolo888
ISPConfig 3
Commits
d31e9087
Commit
d31e9087
authored
Sep 15, 2009
by
tbrehm
Browse files
Fixed a bug in the installer.
parent
082cf784
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
d31e9087
...
...
@@ -807,7 +807,7 @@ class installer_base {
$content
=
rf
(
"tpl/apache_ispconfig.conf.master"
);
$records
=
$this
->
db
->
queryAllRecords
(
"SELECT * FROM server_ip WHERE server_id = "
.
$conf
[
"server_id"
]
.
" AND virtualhost = 'y'"
);
if
(
count
(
$records
)
>
0
)
{
if
(
is_array
(
$records
)
&&
count
(
$records
)
>
0
)
{
foreach
(
$records
as
$rec
)
{
$content
.
=
"NameVirtualHost "
.
$rec
[
"ip_address"
]
.
":80
\n
"
;
$content
.
=
"NameVirtualHost "
.
$rec
[
"ip_address"
]
.
":443
\n
"
;
...
...
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