X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fweekly%2Fweekly_surfbar.php;h=78770742b250bbcb23c3d8ae12c1e56ba13f9a09;hb=30986f637cd3c03951bdbfc880b9a420f7724ce0;hp=b2a160abb49f4b7bae2632fefd132b652330756d;hpb=44aadef1eae9767d1d54da2821119aa60a5ee4f6;p=mailer.git diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index b2a160abb4..78770742b2 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $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 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -33,18 +38,18 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); -} elseif (!EXT_IS_ACTIVE("surfbar")) { +} elseif (!EXT_IS_ACTIVE('surfbar')) { return; } // Do not execute when script is in CSS mode or no daily reset -if (($CSS == 1) || (!defined('__DAILY_RESET'))) return; +if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return; +//* DEBUG: */ echo basename(__FILE__)."
\n"; // Reset the surfbar counter -UPDATE_CONFIG("surfbar_weekly_counter", "0"); -$_CONFIG['surfbar_weekly_counter'] = 0; +updateConfiguration('surfbar_weekly_counter', '0'); // ?>