Rewrites of more constants
[mailer.git] / inc / weekly / weekly_surfbar.php
index af40c37c9c8bb70d291c46b87888a964460b0835..67fa973d113a6bd6ce9003e037e7fe53ae55d577 100644 (file)
@@ -40,7 +40,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || (!defined('__DAILY_RESET'))) return;
+if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset the surfbar counter