X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_newsletter.php;h=8248a29f6126f5dab1d9df300334dad331dc4280;hb=fc7f4d7fd71c718503c2af305276f5a374ae24da;hp=3e1ab6618ee18977e1c1563bea03c5117ddab1c8;hpb=143e78d4231adddd9e706cbf55ec5dd8c1651890;p=mailer.git diff --git a/inc/monthly/monthly_newsletter.php b/inc/monthly/monthly_newsletter.php index 3e1ab6618e..8248a29f61 100644 --- a/inc/monthly/monthly_newsletter.php +++ b/inc/monthly/monthly_newsletter.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("newsletter")) && (!IS_ADMIN())) { - ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "newsletter"); +} elseif (!EXT_IS_ACTIVE("newsletter")) { 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"; // Get current month (2 digits) $curr = date("m", time());