X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_;h=af4b814c48ecd0078c7bd83089bbcbdf2102a18e;hb=99966a712b3b3d8b521524762e153353d1d20bd4;hp=a89ba3155a09f2feacc171ba6d1126ebd0ce843d;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/monthly/monthly_ b/inc/monthly/monthly_ index a89ba3155a..af4b814c48 100644 --- a/inc/monthly/monthly_ +++ b/inc/monthly/monthly_ @@ -10,14 +10,9 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $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 * @@ -38,11 +33,11 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((isCssOutputMode()) || (isResetModeEnabled())) { - // Do not execute when script is in CSS mode or no daily reset +} elseif ((!isHtmlOutputMode()) || (isMonthlyResetEnabled())) { + // Do not execute when script is in non-HTML mode or no hourly reset return; } elseif (!isExtensionActive('')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.'); return; }