//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset surfbar counter
UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, getConfig('surfbar_daily_counter')));
//* DEBUG: */ echo basename(__FILE__)."<br />\n";
// Reset surfbar 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;
+setConfigEntry('surfbar_yester_counter', getConfig('surfbar_daily_counter'));
+setConfigEntry('surfbar_daily_counter' , 0);