From c2f2d0e0c53b6b4878f5966cf954f2f4cf1dff86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 20 Jun 2010 14:45:44 +0000 Subject: [PATCH] Fix for rewrite --- inc/monthly/monthly_beg.php | 4 ++-- inc/reset/reset_beg.php | 4 ++-- inc/reset/reset_doubler.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/monthly/monthly_beg.php b/inc/monthly/monthly_beg.php index 6b3d1ad13f..7554259704 100644 --- a/inc/monthly/monthly_beg.php +++ b/inc/monthly/monthly_beg.php @@ -40,10 +40,10 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((getOutputMode() == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') != 'Y')) { +} elseif ((getOutputMode() == 1) || (!isResetModeEnabled())) { // Do not execute when script is in CSS mode or no daily reset return; -} elseif (!isExtensionActive('beg')) { +} elseif ((!isExtensionActive('beg')) || (getConfig('beg_rallye') != 'Y')) { logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); return; } diff --git a/inc/reset/reset_beg.php b/inc/reset/reset_beg.php index 43b1eaa1c3..6a28959a95 100644 --- a/inc/reset/reset_beg.php +++ b/inc/reset/reset_beg.php @@ -40,10 +40,10 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((getOutputMode() != 0) || (!isResetModeEnabled()) || (getConfig('beg_rallye') == 'Y')) { +} elseif ((getOutputMode() != 0) || (!isResetModeEnabled())) { // Do not execute when script is in CSS mode or no daily reset return; -} elseif (!isExtensionActive('beg')) { +} elseif ((!isExtensionActive('beg')) || (getConfig('beg_rallye') == 'Y')) { logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); return; } diff --git a/inc/reset/reset_doubler.php b/inc/reset/reset_doubler.php index 11bc8ce134..a31687289d 100644 --- a/inc/reset/reset_doubler.php +++ b/inc/reset/reset_doubler.php @@ -40,10 +40,10 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((getOutputMode() != 0) || (!isResetModeEnabled()) || (getConfig('doubler_send_mode') != 'RESET')) { +} elseif ((getOutputMode() != 0) || (!isResetModeEnabled())) { // Do not execute when script is in CSS mode or no daily reset return; -} elseif (!isExtensionActive('doubler')) { +} elseif ((!isExtensionActive('doubler')) || (getConfig('doubler_send_mode') != 'RESET')) { logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); return; } -- 2.39.5