]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_surfbar.php
Mahor rewrite:
[mailer.git] / inc / reset / reset_surfbar.php
index 2d216c6dac22fd35d33b626d31c2fdbbd0cc33ff..98d5c5600a2cf2578e343221ed1a541f1ea2cc08 100644 (file)
@@ -44,8 +44,8 @@ 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'];
+UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, getConfig('surfbar_daily_counter')));
+$_CONFIG['surfbar_yester_counter'] = getConfig('surfbar_daily_counter');
 $_CONFIG['surfbar_daily_counter'] = 0;
 
 //