X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fweekly%2Fweekly_surfbar.php;h=c8270a6ff614fc2fe54bdaf647a058853c1d43c5;hb=a6f2207cfc7ea047d53a4da7c6b218fae66c1801;hp=06a306d54115df80680743838150078fbc36bfcc;hpb=995488beda665a1fc3de65df95f2d1ae236d1245;p=mailer.git diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index 06a306d541..c8270a6ff6 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -14,11 +14,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -40,7 +38,7 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((getOutputMode() == 1) || (!isResetModeEnabled())) { +} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('surfbar')) { @@ -48,8 +46,14 @@ if (!defined('__SECURITY')) { return; } +// Debug line +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset started.'); + // Reset the surfbar counter updateConfiguration('surfbar_weekly_counter', 0); +// Debug line +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset ended.'); + // [EOF] ?>