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
ISPConfig
ISPConfig 3
Commits
d5cf65e7
Commit
d5cf65e7
authored
Aug 20, 2007
by
pedro_morgan
Browse files
Minor interface tidyup
parent
2ffaf4b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/install.php
View file @
d5cf65e7
...
...
@@ -47,8 +47,8 @@ echo " _____ ___________ _____ __ _
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/ "
;
echo
"
\n\n
>>
s
Initial configuration
\n\n
"
;
echo
"
\n
"
.
str_repeat
(
'-'
,
80
)
.
"
\n
"
;
echo
"
\n\n
>> Initial configuration
\n\n
"
;
//** Include the library with the basic installer functions
require_once
(
'lib/install.lib.php'
);
...
...
@@ -68,7 +68,8 @@ $conf['dist'] = $dist;
//** Lets go !
$inst
=
new
installer
();
swriteln
(
$inst
->
lng
(
'Following will be a few questions for primary configuration so be careful please'
,
"
\n\n
"
));
swriteln
(
$inst
->
lng
(
' Following will be a few questions for primary configuration so be careful.'
));
swriteln
(
$inst
->
lng
(
' Default values are in [brackets] and can be accepted with <ENTER>'
.
"
\n\n
"
));
//** Select the language
$conf
[
'language'
]
=
$inst
->
simple_query
(
'Select language'
,
array
(
'en'
,
'de'
),
'en'
);
...
...
@@ -79,7 +80,7 @@ $install_mode = $inst->simple_query('Installation mode', array('Standard','Exper
//** Get the hostname
$tmp_out
=
array
();
exec
(
'hostname -f'
,
$tmp_out
);
$conf
[
'hostname'
]
=
$inst
->
free_query
(
'Full qualified hostname (FQDN) of the server'
,
$tmp_out
[
0
]);
$conf
[
'hostname'
]
=
$inst
->
free_query
(
'Full qualified hostname (FQDN) of the server
, eg foo.example.com
'
,
$tmp_out
[
0
]);
unset
(
$tmp_out
);
//** Get MySQL root credentials
...
...
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