0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

Fix default for $CONF[create_mailbox_subdirs_hostoptions]

array('') means to include an empty item, and that results in an invalid
remote specification with a trailing "/"

Using an empty array() fixes this.

Reported by oftc_ftw on IRC.
This commit is contained in:
Christian Boltz 2017-03-22 22:08:53 +01:00
parent 0b82dec825
commit f7f3781770
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

View File

@ -561,7 +561,7 @@ $CONF['new_quota_table'] = 'YES';
// $CONF['create_mailbox_subdirs_hostoptions']=array('novalidate-cert','norsh');
// See also the "Optional flags for names" table at
// http://www.php.net/manual/en/function.imap-open.php
$CONF['create_mailbox_subdirs_hostoptions'] = array('');
$CONF['create_mailbox_subdirs_hostoptions'] = array();
// Theme Config