]> 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 2d216c6dac22fd35d33b626d31c2fdbbd0cc33ff..dcd49ba3a1c75d5c272a17ac3966c4af2e47002f 100644 (file)
@@ -44,9 +44,9 @@ 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);
 
 //
 ?>