X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js.php;h=cf93e394b3a119748102ea46dcd67d615cff1e4e;hb=63d14ce28ba29ba7f176f7aefa78c7c2b96ab5f1;hp=6ec94157d83b4d8d7d1ee2b584b1e8a0670e31c9;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361;p=mailer.git diff --git a/js.php b/js.php index 6ec94157d8..cf93e394b3 100644 --- a/js.php +++ b/js.php @@ -39,10 +39,6 @@ // 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,7 +61,7 @@ if ((isInstalled()) && (REQUEST_ISSET_GET('tag'))) { loadIncludeOnce('inc/header.php'); // Prepare include file for looking - $INC = sprintf("inc/js/tag-%s.php", + $INC = sprintf("inc/js/js-%s.php", REQUEST_GET('tag') ); @@ -73,7 +69,7 @@ if ((isInstalled()) && (REQUEST_ISSET_GET('tag'))) { if (isIncludeReadable($INC)) { // Include it loadIncludeOnce($INC); - } // END - if + } // END - if // Load footer loadIncludeOnce('inc/footer.php');