]> git.mxchange.org Git - mailer.git/blobdiff - inc/weekly/weekly_surfbar.php
mailer project continued:
[mailer.git] / inc / weekly / weekly_surfbar.php
index bb11e6ceafa8e97cca10d514c20d64999f676919..b9b2c4fa5a34498742f05f17713fd0795e4d6d01 100644 (file)
  * $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                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -40,7 +38,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif ((getScriptOutputMode() == 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]
 ?>