X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Freset%2Freset_surfbar.php;h=e1a0e23527ce175a7eaf4c216e73d91d3b72027e;hp=ae7c8df0a07c7f68b0b93f4bf865084d4d1a2582;hb=4cec044b57773e28423261c71f918f3e22ca8a75;hpb=7b0f17cd637e388049d2167811e4332cec1e979b diff --git a/inc/reset/reset_surfbar.php b/inc/reset/reset_surfbar.php index ae7c8df0a0..e1a0e23527 100644 --- a/inc/reset/reset_surfbar.php +++ b/inc/reset/reset_surfbar.php @@ -1,7 +1,7 @@ \n"; +if ((getOutputMode() != 0) || (!isResetModeEnabled())) return; +//* DEBUG: */ outputHtml(basename(__FILE__)."
"); // Reset surfbar counter -updateConfiguration(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, getConfig('surfbar_daily_counter'))); +updateConfiguration(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); -// +// [EOF] ?>