X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fweekly%2Fweekly_surfbar.php;h=7ff1ff36593f8260ec67dfca9ccda89527f2a857;hb=6586600d8020147192e5f28ca2a3a0153f774d3c;hp=2a9a0be3a210fb1c433acf7fc74b6381457b470e;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index 2a9a0be3a2..7ff1ff3659 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -35,13 +35,13 @@ if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); -} elseif ((!EXT_IS_ACTIVE("surfbar")) && (!IS_ADMIN())) { - ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE); +} 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; +//* DEBUG: */ echo basename(__FILE__)."
\n"; // Reset the surfbar counter UPDATE_CONFIG("surfbar_weekly_counter", "0");