Update PHP_SELF

This commit is contained in:
John Crisp
2020-02-26 17:58:04 +01:00
parent 434f725363
commit 70ca2987ac

View File

@@ -1,7 +1,6 @@
<?php
#$PHP_SELF = $_SERVER['PHP_SELF'];
$PHP_SELF = htmlspecialchars($HTTP_SERVER_VARS['PHP_SELF'], ENT_QUOTES, "utf-8");
$PHP_SELF = htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, "utf-8");
#
# Returns TRUE if browser is Internet Explorer.