- require_once(PATH."inc/footer.php");
-}
- else
-{
- // You have to configure first!
- LOAD_URL("install.php");
+ case 'REJECT': // Redirect to rejection page
+ LOAD_CONFIGURED_URL('reject_url');
+ break;
+
+ default:
+ DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown status %s detected in mailid_error_redirect.", getConfig('mailid_error_redirect')));
+ LOAD_URL('modules.php?module=index&msg=' . getCode('UNKNOWN_STATUS') . '&ext=mailid');
+ break;
+ }
+ } else {
+ // Include footer
+ LOAD_INC_ONCE('inc/footer.php');
+ }
+} else {
+ // You have to install first!
+ LOAD_URL('install.php');