X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Frequest-functions.php;h=32eb4eea6c5f58f9a454c53ade7d477f2cd3077c;hb=1a9c4d5736b58e8d1da657ba2ff3da9f0777300c;hp=b6b45f165f07e5bae6bf4aab58c5bfe86507f4e5;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6;p=mailer.git diff --git a/inc/request-functions.php b/inc/request-functions.php index b6b45f165f..32eb4eea6c 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -228,6 +228,11 @@ function isFormSent () { return isPostRequestParameterSet('ok'); } +// Checks if 'content_type' is set +function isContentTypeSet () { + return isset($GLOBALS['content_type']); +} + // Setter for content type function setContentType ($contentType) { $GLOBALS['content_type'] = (string) $contentType;