* -------------------------------------------------------------------- *
* Kurzbeschreibung : *
* -------------------------------------------------------------------- *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : *
* -------------------------------------------------------------------- *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
-} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
- // Do not execute when script is in CSS mode or no daily reset
+} elseif ((!isHtmlOutputMode()) || (!isWeeklyResetEnabled())) {
+ // Do not execute when script is in non-HTML mode or no daily reset
return;
} elseif (!isExtensionActive('surfbar')) {
logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.');
return;
} elseif (!isExtensionActive('surfbar')) {
logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.');