X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fweekly%2Fweekly_surfbar.php;h=a2f9049b3da7561ce94be49e9cdaa941ee9c9bdf;hp=cc1a72e21bad62bc8d41d1ce59cac35cd08ecb40;hb=61621983cc6d7195fcc7eab29b5f6080ff283b34;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689 diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index cc1a72e21b..a2f9049b3d 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -38,11 +33,11 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) { - // Do not execute when script is in CSS mode or no daily reset +} elseif ((!isHtmlOutputMode()) || (!isWeeklyResetEnabled())) { + // Do not execute when script is in non-HTML mode or no daily reset return; } elseif (!isExtensionActive('surfbar')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.'); return; }