X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=8877bcc150e85ff0c92416d0088ac8b35e44235e;hp=dbd6e713f4c0173f6106b82e8dc2edd9852ded04;hb=7a2bf6b757eb25795956d48453f1afa940156bc5;hpb=146d2e01f0ac11489e40a398dd79d5e3946f42ac diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index dbd6e713f4..8877bcc150 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -946,5 +946,15 @@ function preCompileCode ($code, $template = '', $compiled = false, $full = true, return compileCode($code, false, true, $full); } +// Setter for HTTP status +function setHttpStatus ($status) { + $GLOBALS['http_status'] = (string) $status; +} + +// Getter for HTTP status +function getHttpStatus () { + return $GLOBALS['http_status']; +} + // [EOF] ?>