]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_surfbar.php
Still a bit silly but seems to work
[mailer.git] / inc / monthly / monthly_surfbar.php
index e7f52fdb313f8f8aa55af2ee3f4c0b9522912809..353bf62d3ede8b957c1f76727ec5bf3a58cbec45 100644 (file)
@@ -38,7 +38,7 @@
 
 // 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')) {
        return;
@@ -49,7 +49,7 @@ if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset surfbar counter
-UPDATE_CONFIG("surfbar_monthly_counter", "0");
+updateConfiguration('surfbar_monthly_counter', '0');
 
 //
 ?>