X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmails%2F_mails.php;h=537626967fb72ac4200da1cd78da73466ef47416;hb=e5527fd38a6585c8466dc28d013f12d21eb7c07a;hp=dc3f44bee2c838a459cf7fb66a7702dc75391abf;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/mails/_mails.php b/inc/mails/_mails.php index dc3f44bee2..537626967f 100644 --- a/inc/mails/_mails.php +++ b/inc/mails/_mails.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -39,11 +39,12 @@ if (!defined('__SECURITY')) { die(); } elseif (!isExtensionActive('')) { + // Do not execute script on missing/out-dated extension ext- + return; +} elseif (!isHtmlOutputMode()) { + // Do not execute script if not in HTML mode return; } -// Do not execute when script is in CSS mode -if (!isHtmlOutputMode()) return; - // [EOF] ?>