]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_surfbar.php
More language constants rewritten ({--LANGUAGE--} is for constants)
[mailer.git] / inc / reset / reset_surfbar.php
index 11408d71bcd92853dd13f6743cdebaa7fe0d7a2a..dcd49ba3a1c75d5c272a17ac3966c4af2e47002f 100644 (file)
@@ -41,11 +41,12 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset surfbar counter
-UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, $_CONFIG['surfbar_daily_counter']));
-$_CONFIG['surfbar_yester_counter'] = $_CONFIG['surfbar_daily_counter'];
-$_CONFIG['surfbar_daily_counter'] = 0;
+UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, getConfig('surfbar_daily_counter')));
+setConfigEntry('surfbar_yester_counter', getConfig('surfbar_daily_counter'));
+setConfigEntry('surfbar_daily_counter' , 0);
 
 //
 ?>