X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid.php;h=417ad84f3a114161e65f941bd7d560b63fbd8d22;hb=489aebca1753a3cefdbd331e83888b76e56dbb11;hp=7f684cef9b477d1afb5f2a58c44aca8a119bec7e;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/mailid.php b/mailid.php index 7f684cef9b..417ad84f3a 100644 --- a/mailid.php +++ b/mailid.php @@ -49,8 +49,9 @@ $errorCode = ''; // Load the required file(s) require('inc/config-global.php'); -// Set content type +// Set content type and HTTP status setContentType('text/html'); +setHttpStatus('404 NOT FOUND'); // Is the extension active? redirectOnUninstalledExtension('mailid'); @@ -181,6 +182,9 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr } // END - if if (($time > 0) && (($payment > 0) || ($points > 0))) { + // Set HTTP status to okay + setHttpStatus('200 OK'); + // Export data into constants for the template $content = array( 'userid' => $userId,