// 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');
} // 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,