From d8e04231a5d48dd2b6920e0ecc2d94ca08622140 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Sep 2008 18:43:51 +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 bec3eed..6c1100d 100644 --- a/www/src-lic.php +++ b/www/src-lic.php @@ -28,8 +28,8 @@ header('Content-Type: application/octetstream; name="' . $output_file . '"'); //This should work for IE & Opera header('Content-Type: application/octet-stream; name="' . $output_file . '"'); //This should work for the rest header('Content-Disposition: inline; filename="' . $output_file . '"'); - header("Content-length: ".intval(filesize($_SESSION['_config'][filepath]."/tarballs/$fname"))); - readfile($_SESSION['_config'][filepath]."/tarballs/$fname"); + header("Content-length: ".intval(filesize($_SESSION['_config']['filepath']."/tarballs/$fname"))); + readfile($_SESSION['_config']['filepath']."/tarballs/$fname"); exit; } loadem("index");