Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
attempt to redifine $page_name to sanity. not tested on all $page_nam…
…e use cases
  • Loading branch information
yeled committed Oct 1, 2012
1 parent ffde8b1 commit 2ab0fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplib.php
Expand Up @@ -38,7 +38,7 @@
closedir($dirp);
}

$page_name = htmlspecialchars($_SERVER['REQUEST_URI']);
$page_name = htmlspecialchars($_SERVER['PHP_SELF']);

unset($dirpath);
unset($dirp);
Expand Down

0 comments on commit 2ab0fbf

Please sign in to comment.