X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=mailid.php;h=523d319c1969087c59416f97595aa4eb39b04a2b;hp=b1baa9f2f07978bfcef61f48de1f0107f02b2ed6;hb=4bd12d7c844163f67cca3489aa0b6c9af61d8adb;hpb=6c763653e88b9d10627e651ca59c7201d4b7d62b diff --git a/mailid.php b/mailid.php index b1baa9f2f0..523d319c19 100644 --- a/mailid.php +++ b/mailid.php @@ -202,17 +202,17 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { // Error code is set? if (!empty($msg)) { - switch ($_CONFIG['mailid_error_redirect']) { + switch (getConfig('mailid_error_redirect')) { case "INDEX": // Redirect to index page LOAD_URL("modules.php?module=index&msg=".$msg."&ext=mailid"); break; case "REJECT": // Redirect to rejection page - LOAD_URL($_CONFIG['reject_url']); + LOAD_URL(getConfig('reject_url')); break; default: - DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown status %s detected in mailid_error_redirect.", $_CONFIG['mailid_error_redirect'])); + DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown status %s detected in mailid_error_redirect.", getConfig('mailid_error_redirect'))); LOAD_URL("modules.php?module=index&msg=".CODE_UNKNOWN_STATUS."&ext=mailid"); break; }