Skip to content

Commit d5cf65e

Browse files
author
pedro_morgan
committed
Minor interface tidyup
1 parent 2ffaf4b commit d5cf65e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

install/install.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
4848
__/ |
4949
|___/ ";
50-
51-
echo "\n\n>> sInitial configuration \n\n";
50+
echo "\n".str_repeat('-',80)."\n";
51+
echo "\n\n>> Initial configuration \n\n";
5252

5353
//** Include the library with the basic installer functions
5454
require_once('lib/install.lib.php');
@@ -68,7 +68,8 @@
6868

6969
//** Lets go !
7070
$inst = new installer();
71-
swriteln($inst->lng('Following will be a few questions for primary configuration so be careful please',"\n\n"));
71+
swriteln($inst->lng(' Following will be a few questions for primary configuration so be careful.'));
72+
swriteln($inst->lng(' Default values are in [brackets] and can be accepted with <ENTER>'."\n\n"));
7273

7374
//** Select the language
7475
$conf['language'] = $inst->simple_query('Select language', array('en','de'), 'en');
@@ -79,7 +80,7 @@
7980
//** Get the hostname
8081
$tmp_out = array();
8182
exec('hostname -f', $tmp_out);
82-
$conf['hostname'] = $inst->free_query('Full qualified hostname (FQDN) of the server', $tmp_out[0]);
83+
$conf['hostname'] = $inst->free_query('Full qualified hostname (FQDN) of the server, eg foo.example.com ', $tmp_out[0]);
8384
unset($tmp_out);
8485

8586
//** Get MySQL root credentials

0 commit comments

Comments
 (0)