X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmonthly%2Fmonthly_;h=829b30688396149840ec97bc2020a0b8bcd4b2ad;hb=2f7fcd4e249c96579e6e1d33737c49c819074231;hp=2e13923e7c75b7be46bc170b525925c92fb60f33;hpb=4a3172d5c7a97b619ddb7958fb1c87b7272bb62b;p=mailer.git diff --git a/inc/monthly/monthly_ b/inc/monthly/monthly_ index 2e13923e7c..829b306883 100644 --- a/inc/monthly/monthly_ +++ b/inc/monthly/monthly_ @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * 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 * @@ -38,11 +38,11 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((isCssOutputMode()) || (isResetModeEnabled())) { - // Do not execute when script is in CSS mode or no hourly 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 ext- disabled.'); + if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.'); return; }