// 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()) || (isResetModeEnabled())) {
+ // Do not execute when script is in non-HTML mode or no hourly reset
return;
} elseif (!isExtensionActive('')) {
if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');