Skip to content

Commit a8f3f14

Browse files
author
Till Brehm
committed
Merge branch 'install-typo' into 'develop'
Fix typo in installer See merge request ispconfig/ispconfig3!1148
2 parents 99e6a01 + 97c77f0 commit a8f3f14

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

install/install.php

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,30 +30,30 @@
3030

3131
/*
3232
ISPConfig 3 installer.
33-
33+
3434
-------------------------------------------------------------------------------------
3535
- Interactive install
3636
-------------------------------------------------------------------------------------
3737
run:
38-
38+
3939
php install.php
40-
40+
4141
-------------------------------------------------------------------------------------
4242
- Noninteractive (autoinstall) mode
4343
-------------------------------------------------------------------------------------
44-
44+
4545
The autoinstall mode can read the installer questions from a .ini style file or from
46-
a php config file. Examples for both file types are in the docs folder.
46+
a php config file. Examples for both file types are in the docs folder.
4747
See autoinstall.ini.sample and autoinstall.conf_sample.php.
48-
48+
4949
run:
50-
50+
5151
php install.php --autoinstall=autoinstall.ini
52-
52+
5353
or
54-
54+
5555
php install.php --autoinstall=autoinstall.conf.php
56-
56+
5757
*/
5858

5959
error_reporting(E_ALL|E_STRICT);
@@ -146,9 +146,9 @@
146146
//** Installer Interface
147147
//****************************************************************************************************
148148
$inst = new installer();
149-
if (!$inst->get_php_version()) die('ISPConfig requieres PHP '.$inst->min_php."\n");
149+
if (!$inst->get_php_version()) die('ISPConfig requires PHP '.$inst->min_php."\n");
150150
$retval=shell_exec("which which");
151-
if (empty($retval)) die ("ISPConfig requieres which \n");
151+
if (empty($retval)) die ("ISPConfig requires which \n");
152152

153153
$inst->check_prerequisites();
154154

@@ -204,17 +204,17 @@
204204
//** Get MySQL root credentials
205205
$finished = false;
206206
do {
207-
$tmp_mysql_server_host = $inst->free_query('MySQL server hostname', $conf['mysql']['host'],'mysql_hostname');
207+
$tmp_mysql_server_host = $inst->free_query('MySQL server hostname', $conf['mysql']['host'],'mysql_hostname');
208208
$tmp_mysql_server_port = $inst->free_query('MySQL server port', $conf['mysql']['port'],'mysql_port');
209-
$tmp_mysql_server_admin_user = $inst->free_query('MySQL root username', $conf['mysql']['admin_user'],'mysql_root_user');
210-
$tmp_mysql_server_admin_password = $inst->free_query('MySQL root password', $conf['mysql']['admin_password'],'mysql_root_password');
211-
$tmp_mysql_server_database = $inst->free_query('MySQL database to create', $conf['mysql']['database'],'mysql_database');
209+
$tmp_mysql_server_admin_user = $inst->free_query('MySQL root username', $conf['mysql']['admin_user'],'mysql_root_user');
210+
$tmp_mysql_server_admin_password = $inst->free_query('MySQL root password', $conf['mysql']['admin_password'],'mysql_root_password');
211+
$tmp_mysql_server_database = $inst->free_query('MySQL database to create', $conf['mysql']['database'],'mysql_database');
212212
$tmp_mysql_server_charset = $inst->free_query('MySQL charset', $conf['mysql']['charset'],'mysql_charset');
213-
213+
214214
if($install_mode == 'expert') {
215215
swriteln("The next two questions are about the internal ISPConfig database user and password.\nIt is recommended to accept the defaults which are 'ispconfig' as username and a random password.\nIf you use a different password, use only numbers and chars for the password.\n");
216-
217-
$conf['mysql']['ispconfig_user'] = $inst->free_query('ISPConfig mysql database username', $conf['mysql']['ispconfig_user'],'mysql_ispconfig_user');
216+
217+
$conf['mysql']['ispconfig_user'] = $inst->free_query('ISPConfig mysql database username', $conf['mysql']['ispconfig_user'],'mysql_ispconfig_user');
218218
$conf['mysql']['ispconfig_password'] = $inst->free_query('ISPConfig mysql database password', $conf['mysql']['ispconfig_password'],'mysql_ispconfig_password');
219219
}
220220

@@ -264,10 +264,10 @@
264264
//** Get MySQL root credentials
265265
$finished = false;
266266
do {
267-
$tmp_mysql_server_host = $inst->free_query('MySQL master server hostname', $conf['mysql']['master_host'],'mysql_master_hostname');
267+
$tmp_mysql_server_host = $inst->free_query('MySQL master server hostname', $conf['mysql']['master_host'],'mysql_master_hostname');
268268
$tmp_mysql_server_port = $inst->free_query('MySQL master server port', $conf['mysql']['master_port'],'mysql_master_port');
269-
$tmp_mysql_server_admin_user = $inst->free_query('MySQL master server root username', $conf['mysql']['master_admin_user'],'mysql_master_root_user');
270-
$tmp_mysql_server_admin_password = $inst->free_query('MySQL master server root password', $conf['mysql']['master_admin_password'],'mysql_master_root_password');
269+
$tmp_mysql_server_admin_user = $inst->free_query('MySQL master server root username', $conf['mysql']['master_admin_user'],'mysql_master_root_user');
270+
$tmp_mysql_server_admin_password = $inst->free_query('MySQL master server root password', $conf['mysql']['master_admin_password'],'mysql_master_root_password');
271271
$tmp_mysql_server_database = $inst->free_query('MySQL master server database name', $conf['mysql']['master_database'],'mysql_master_database');
272272

273273
//* Initialize the MySQL server connection
@@ -567,7 +567,7 @@
567567
if($conf['nginx']['installed'] == true) $conf['nginx']['vhost_port'] = $ispconfig_vhost_port;
568568
unset($ispconfig_vhost_port);
569569

570-
if(strtolower($inst->simple_query('Do you want a secure (SSL) connection to the ISPConfig web interface', array('y', 'n'), 'y','ispconfig_use_ssl')) == 'y') {
570+
if(strtolower($inst->simple_query('Do you want a secure (SSL) connection to the ISPConfig web interface', array('y', 'n'), 'y','ispconfig_use_ssl')) == 'y') {
571571
$inst->make_ispconfig_ssl_cert();
572572
}
573573
$inst->install_ispconfig_interface = true;

0 commit comments

Comments
 (0)