From 1136e91a7286a8bbf6af831853b641b523217e8a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Sep 2008 19:12:09 +0000 Subject: [PATCH] Improved register_globals --- pages/account/19.php | 4 ++-- pages/account/24.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/account/19.php b/pages/account/19.php index 9ad474d..1f2264f 100644 --- a/pages/account/19.php +++ b/pages/account/19.php @@ -33,9 +33,9 @@ $crtname=escapeshellarg($row['crt_name']); $cert = `/usr/bin/openssl x509 -in $crtname`; - if($row[keytype] == "NS") + if($row['keytype'] == "NS") { - if($install == 1) + if(array_key_exists('install',$_REQUEST) && $_REQUEST['install'] == 1) { header("Content-Type: application/x-x509-user-cert"); header("Content-Length: ".strlen($cert)); diff --git a/pages/account/24.php b/pages/account/24.php index 3c10800..e9b122c 100644 --- a/pages/account/24.php +++ b/pages/account/24.php @@ -22,27 +22,27 @@ : - + "> : - + "> : - + "> : - + "> : - + "> : - + ">