X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mailid.php;h=417ad84f3a114161e65f941bd7d560b63fbd8d22;hb=e5b18980201acd32b160d0b74371844a00538cc9;hp=6a028dee56048c23c5c919c1fa13e959bf2aeada;hpb=d4cff9c73632a8d93428a80dcf54b3a8daa80a24;p=mailer.git diff --git a/mailid.php b/mailid.php index 6a028dee56..417ad84f3a 100644 --- a/mailid.php +++ b/mailid.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -51,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'); @@ -183,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,