Skip to content

Commit e6e73ea

Browse files
committed
Merge branch 'develop' of git.ispconfig.org:ispconfig/ispconfig3 into develop
2 parents 682be6d + 98ba3c4 commit e6e73ea

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
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';

server/cron_debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
// Cronjob that shell be run
5353
$cronjob_file = $cmd_opt['cronjob'];
5454
} else {
55-
die('Usage example: php cron_debug.php --cronjob=100-mailbox_stats.inc.php');
55+
die('Usage example: php cron_debug.php --cronjob=100-mailbox_stats.inc.php'."\n");
5656
}
5757

5858
// Load and run the cronjob

0 commit comments

Comments
 (0)