* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* $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 *
* *
* 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 *
-} elseif ((!isHtmlOutputMode()) || ((!isResetModeEnabled()) && (getConfig('holiday_mode') == 'RESET'))) {
- // Do not execute when script is in CSS mode or no daily reset
+} elseif ((!isHtmlOutputMode()) || ((!isDailyResetEnabled()) && (getConfig('holiday_mode') == 'RESET'))) {
+ // Do not execute when script is in non-HTML mode or no daily reset
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-holiday disabled.');
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.');
// Check for holidays we need to enable and send email to user
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.');
// Check for holidays we need to enable and send email to user
// Prepare all data for the template
$content = merge_array($content, array(
// Prepare all data for the template
$content = merge_array($content, array(
- array(bigintval($content['userid'])), __FILE__, __LINE__, false));
+ array(bigintval($content['userid'])), __FILE__, __LINE__, FALSE));