]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_surfbar.php
MyISAM/InnoDB support added
[mailer.git] / inc / monthly / monthly_surfbar.php
index 35de46718f5b33598e28467369bf898c3fd53cf9..025d04875b372ad291b1e966e3ce3e5652b161e0 100644 (file)
@@ -40,11 +40,11 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset surfbar counter
 UPDATE_CONFIG("surfbar_monthly_counter", "0");
-$_CONFIG['surfbar_monthly_counter'] = 0;
 
 //
 ?>