]> git.mxchange.org Git - mailer.git/blobdiff - js.php
Many rewrites to get rid of dublicate modreg inserts while ext-cache is registered
[mailer.git] / js.php
diff --git a/js.php b/js.php
index b666aac864617cfc44d52b9ccfb0d5a8ad205200..cf93e394b3a119748102ea46dcd67d615cff1e4e 100644 (file)
--- a/js.php
+++ b/js.php
 // Load security stuff here
 require('inc/libs/security_functions.php');
 
-// Init "action" and "what"
-$GLOBALS['what']   = '';
-$GLOBALS['action'] = '';
-
 // This is a fake-CSS file loader, more a JavaScript loader...
 // This is in one way good and in one not. The whole reset part will be
 // by-passed even in this "faked" CSS mode. The bad news is that this makes all
@@ -65,8 +61,8 @@ if ((isInstalled()) && (REQUEST_ISSET_GET('tag'))) {
        loadIncludeOnce('inc/header.php');
 
        // Prepare include file for looking
-       $INC = sprintf("inc/js/tag-%s.php",
-       REQUEST_GET('tag')
+       $INC = sprintf("inc/js/js-%s.php",
+               REQUEST_GET('tag')
        );
 
        // Is that file readable?