]> git.mxchange.org Git - mailer.git/blobdiff - inc/weekly/weekly_surfbar.php
Frameset support entirely removed, TODO extended, minor template fix
[mailer.git] / inc / weekly / weekly_surfbar.php
index 2a9a0be3a210fb1c433acf7fc74b6381457b470e..7ff1ff36593f8260ec67dfca9ccda89527f2a857 100644 (file)
 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__)."<br />\n";
 
 // Reset the surfbar counter
 UPDATE_CONFIG("surfbar_weekly_counter", "0");