X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid.php;h=523d319c1969087c59416f97595aa4eb39b04a2b;hb=29720f825150b6449a9bf5cb2024b65e5e86bd2d;hp=b1baa9f2f07978bfcef61f48de1f0107f02b2ed6;hpb=6c763653e88b9d10627e651ca59c7201d4b7d62b;p=mailer.git 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; }