Rewrites of more constants
[mailer.git] / inc / monthly / monthly_surfbar.php
index 826250915b183d12211c25383908374d7e77f5ae..025d04875b372ad291b1e966e3ce3e5652b161e0 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 surfbar counter