]> git.mxchange.org Git - mailer.git/blobdiff - inc/weekly/weekly_surfbar.php
Sanity check added to make sure the file is really there
[mailer.git] / inc / weekly / weekly_surfbar.php
index 600db9681788984120f3a80a13f64fa7edae7bd3..78770742b250bbcb23c3d8ae12c1e56ba13f9a09 100644 (file)
@@ -38,9 +38,9 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
-} elseif (!EXT_IS_ACTIVE("surfbar")) {
+} elseif (!EXT_IS_ACTIVE('surfbar')) {
        return;
 }
 
@@ -49,7 +49,7 @@ if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset the surfbar counter
-UPDATE_CONFIG("surfbar_weekly_counter", "0");
+updateConfiguration('surfbar_weekly_counter', '0');
 
 //
 ?>