Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

attempt to redifine $page_name to sanity. not tested on all $page_nam…

…e use cases
  • Loading branch information...
commit 2ab0fbf2041898685673a6c2f2b7740f0c5c4721 1 parent ffde8b1
@yeled authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  amplib.php
View
2  amplib.php
@@ -38,7 +38,7 @@
closedir($dirp);
}
-$page_name = htmlspecialchars($_SERVER['REQUEST_URI']);
+$page_name = htmlspecialchars($_SERVER['PHP_SELF']);
unset($dirpath);
unset($dirp);
Please sign in to comment.
Something went wrong with that request. Please try again.