]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
HTTP status codes added for missing/locked modules, fixed double-logging of debug...
[mailer.git] / inc / wrapper-functions.php
index dbd6e713f4c0173f6106b82e8dc2edd9852ded04..8877bcc150e85ff0c92416d0088ac8b35e44235e 100644 (file)
@@ -946,5 +946,15 @@ function preCompileCode ($code, $template = '', $compiled = false, $full = true,
        return compileCode($code, false, true, $full);
 }
 
        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]
 ?>
 // [EOF]
 ?>