From ee7bfd46858b5f88c46316f8e427f42618a415b4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 25 Aug 2008 21:01:37 +0000 Subject: [PATCH] Improved register_globals --- www/src-lic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/src-lic.php b/www/src-lic.php index afaeb7c..bec3eed 100644 --- a/www/src-lic.php +++ b/www/src-lic.php @@ -15,7 +15,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ - if($_REQUEST['iagree'] == "yes") + if(array_key_exists('iagree',$_REQUEST) && $_REQUEST['iagree'] == "yes") { $output_file = $fname = readlink("../tarballs/current.tar.bz2"); @@ -41,7 +41,7 @@ Source Code License Terms

 
 
-
+ Tick this box to acknowledge you agree to these terms and conditions