X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fweekly%2Fweekly_surfbar.php;h=78770742b250bbcb23c3d8ae12c1e56ba13f9a09;hb=5071030af40e69ca4284642f44758964e18f5be8;hp=098df63e95b3643c941792e2f065904397117b31;hpb=8f60465485bd5e9ab2c0ddfa1f054458cf510042;p=mailer.git diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index 098df63e95..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"); +updateConfiguration('surfbar_weekly_counter', '0'); // ?>