X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmails%2F_mails.php;h=6f5316c876ac7a35e317209b4cbc68e7417de1f1;hp=47136caee4b18c8ec13e9d1fe3a4fb4952901067;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=c72268213d4d4829d845d39c101bb08fbe4ed79a diff --git a/inc/mails/_mails.php b/inc/mails/_mails.php index 47136caee4..6f5316c876 100644 --- a/inc/mails/_mails.php +++ b/inc/mails/_mails.php @@ -14,12 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 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 * @@ -41,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 (getScriptOutputMode() != 0) return; - // [EOF] ?>