]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_newsletter.php
Lock reason now saved in DB, deleted accounts shall be locked for re-registering...
[mailer.git] / inc / monthly / monthly_newsletter.php
index 3e1ab6618ee18977e1c1563bea03c5117ddab1c8..8248a29f6126f5dab1d9df300334dad331dc4280 100644 (file)
 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__)."<br />\n";
 
 // Get current month (2 digits)
 $curr = date("m", time());