File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1458,7 +1458,7 @@ public function configure_dovecot() {
14581458 }
14591459
14601460 $ config_dir = $ conf ['postfix ' ]['config_dir ' ];
1461- $ quoted_config_dir = preg_quote ($ config_dir , '/ ' );
1461+ $ quoted_config_dir = preg_quote ($ config_dir , '| ' );
14621462 $ postfix_version = `postconf -d mail_version 2>/dev/null `;
14631463 $ postfix_version = preg_replace ( '/mail_version\s*=\s*(.*)\s*/ ' , '$1 ' , $ postfix_version );
14641464
@@ -1496,7 +1496,7 @@ public function configure_dovecot() {
14961496 foreach ($ options as $ value ) {
14971497 $ value = trim ($ value );
14981498 if ($ value == '' ) continue ;
1499- if (preg_match ("|check_recipient_access\s+proxy:mysql: $ {config_dir }/mysql-verify_recipients.cf| " , $ value )) {
1499+ if (preg_match ("|check_recipient_access\s+proxy:mysql: $ {quoted_config_dir }/mysql-verify_recipients.cf| " , $ value )) {
15001500 continue ;
15011501 }
15021502 $ new_options [] = $ value ;
You can’t perform that action at this time.
0 commit comments