Skip to content

Commit b4972db

Browse files
author
Till Brehm
committed
Merge branch '5729-le' into 'develop'
Remove LE from installer questions (#5729) Closes #5729 See merge request ispconfig/ispconfig3!1144
2 parents 85f0039 + d5cc753 commit b4972db

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

install/lib/installer_base.lib.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,16 +198,16 @@ public function find_installed_apps() {
198198

199199
if (($conf['apache']['installed'] && is_file($conf['apache']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost")) || ($conf['nginx']['installed'] && is_file($conf['nginx']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost"))) $this->ispconfig_interface_installed = true;
200200
}
201-
201+
202202
//** Check prerequisites
203203
public function check_prerequisites() {
204204
$msg = '';
205-
205+
206206
if(version_compare(phpversion(), '5.4', '<')) $msg .= "PHP Version 5.4 or newer is required. The currently used PHP version is ".phpversion().".\n";
207207
if(!function_exists('curl_init')) $msg .= "PHP Curl Module is missing.\n";
208208
if(!function_exists('mysqli_connect')) $msg .= "PHP MySQLi Module is nmissing.\n";
209209
if(!function_exists('mb_detect_encoding')) $msg .= "PHP Multibyte Module (MB) is missing.\n";
210-
210+
211211
if($msg != '') die($msg);
212212
}
213213

@@ -326,7 +326,7 @@ public function add_database_server_record() {
326326
if(!$this->db->query($query, $conf['mysql']['database'] . ".*", $conf['mysql']['ispconfig_user'], $from_host)) {
327327
$this->error('Unable to grant databse permissions to user: '.$conf['mysql']['ispconfig_user'].' Error: '.$this->db->errorMessage);
328328
}
329-
329+
330330
// add correct administrative rights to IPSConfig user (SUPER is deprecated and unnecessarily powerful)
331331
if ($this->db->getDatabaseType() == 'mysql' && $this->db->getDatabaseVersion(true) >= 8) {
332332
// there might be more needed on replicated db environments, this was not tested
@@ -2896,12 +2896,12 @@ public function make_ispconfig_ssl_cert() {
28962896
exec("cat $ssl_key_file $ssl_crt_file > $ssl_pem_file; chmod 600 $ssl_pem_file");
28972897

28982898
// Extend LE SSL certs to postfix
2899-
if ($conf['postfix']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig LE SSL certs to postfix?', array('y', 'n'), 'y')) == 'y') {
2899+
if ($conf['postfix']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig SSL certs to Postfix?', array('y', 'n'), 'y')) == 'y') {
29002900

29012901
// Define folder, file(s)
29022902
$cf = $conf['postfix'];
29032903
$postfix_dir = $cf['config_dir'];
2904-
if(!is_dir($postfix_dir)) $this->error("The postfix configuration directory '$postfix_dir' does not exist.");
2904+
if(!is_dir($postfix_dir)) $this->error("The Postfix configuration directory '$postfix_dir' does not exist.");
29052905
$smtpd_crt = $postfix_dir.'/smtpd.cert';
29062906
$smtpd_key = $postfix_dir.'/smtpd.key';
29072907

@@ -2915,7 +2915,7 @@ public function make_ispconfig_ssl_cert() {
29152915
}
29162916

29172917
// Extend LE SSL certs to pureftpd
2918-
if ($conf['pureftpd']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig LE SSL certs to pureftpd? Creating dhparam file takes some times.', array('y', 'n'), 'y')) == 'y') {
2918+
if ($conf['pureftpd']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig SSL certs to Pure-FTPd? Creating dhparam file may take some time.', array('y', 'n'), 'y')) == 'y') {
29192919

29202920
// Define folder, file(s)
29212921
$pureftpd_dir = '/etc/ssl/private';

0 commit comments

Comments
 (0)