summaryrefslogtreecommitdiffstats
path: root/usr/local/www/exec.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-20 22:08:34 +0000
committerErmal <eri@pfsense.org>2013-12-20 22:08:34 +0000
commitaa205c3b69bf76b1565fd42dba83c7637212f793 (patch)
treef04ba2d5e093bd36f0e128690e72ae538b8104de /usr/local/www/exec.php
parentcc2630208cc31ac3a19c185036a4b589d125e99a (diff)
downloadpfsense-aa205c3b69bf76b1565fd42dba83c7637212f793.zip
pfsense-aa205c3b69bf76b1565fd42dba83c7637212f793.tar.gz
Rmoeve register_long_arrays from php.ini and from php code the use of HTTP_*_VARS as its deprecated and luckily low use in pfSense to win memory and compativility
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-xusr/local/www/exec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index eda1321..2b84d74 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -83,7 +83,7 @@ function puts( $arg ) { echo "$arg\n"; }
// "Constants".
$Version = '';
-$ScriptName = $HTTP_SERVER_VARS['SCRIPT_NAME'];
+$ScriptName = $REQUEST['SCRIPT_NAME'];
// Get year.
OpenPOWER on IntegriCloud