]> git.mxchange.org Git - mailer.git/blobdiff - js.php
HTTP-related functions refactured:
[mailer.git] / js.php
diff --git a/js.php b/js.php
index 44477e69e2a683b55e50762a7c76bfbb5f3a647a..0e44f38e503224e257659df42056deee08ace7a6 100644 (file)
--- a/js.php
+++ b/js.php
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -59,13 +59,13 @@ setContentType('text/javascript');
 setHttpStatus('404 NOT FOUND');
 
 // Is 'js' is provied?
-if (isGetRequestParameterSet('js')) {
+if (isGetRequestElementSet('js')) {
        // Load header
        loadIncludeOnce('inc/header.php');
 
        // Prepare include file for looking
        $inc = sprintf("inc/js/js-%s.php",
-               getRequestParameter('js')
+               getRequestElement('js')
        );
 
        // Is that file readable?