From 998b1e05c7d16e5917bc92cbbac69442e3307fe5 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 30 Apr 2002 00:21:35 +0000 Subject: [PATCH] Converting to get_var() for all HTTP_*_VARS. --- filemanager/inc/class.bophpwebhosting.inc.php | 3 +-- filemanager/inc/class.uiphpwebhosting.inc.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/filemanager/inc/class.bophpwebhosting.inc.php b/filemanager/inc/class.bophpwebhosting.inc.php index 848c5361d0..4d525cb6f3 100755 --- a/filemanager/inc/class.bophpwebhosting.inc.php +++ b/filemanager/inc/class.bophpwebhosting.inc.php @@ -242,8 +242,7 @@ function initialize_vars($name) { - $var = ($GLOBALS['HTTP_GET_VARS'][$name]?$GLOBALS['HTTP_GET_VARS'][$name]:''); - $var = ($GLOBALS['HTTP_POST_VARS'][$name]?$GLOBALS['HTTP_POST_VARS'][$name]:$var); + $var = get_var($name,Array('GET','POST')); if($this->debug) { echo ''."\n"; diff --git a/filemanager/inc/class.uiphpwebhosting.inc.php b/filemanager/inc/class.uiphpwebhosting.inc.php index 293c222d71..f946fce9cc 100755 --- a/filemanager/inc/class.uiphpwebhosting.inc.php +++ b/filemanager/inc/class.uiphpwebhosting.inc.php @@ -298,7 +298,7 @@ { return $this->link( Array( - 'menuaction' => $GLOBALS['HTTP_GET_VARS']['menuaction'], + 'menuaction' => get_var('menuaction',Array('GET')), 'path' => $this->bo->path, 'show_upload_boxes' => $number ),