cvs: phpweb / do_download.php

From: Date: Tue, 04 Feb 2003 19:12:32 +0000
Subject: cvs: phpweb / do_download.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15492@lists.php.net to get a copy of this message
goba Tue Feb 4 14:12:32 2003 EDT Modified files: /phpweb do_download.php Log: Use absolute path here, so the new wget friendly URLs will work... Index: phpweb/do_download.php diff -u phpweb/do_download.php:1.20 phpweb/do_download.php:1.21 --- phpweb/do_download.php:1.20 Sat Jan 18 15:31:23 2003 +++ phpweb/do_download.php Tue Feb 4 14:12:32 2003 @@ -6,7 +6,7 @@ // If there is no file, then drop out an invalid file error message if (!isset($df) || !isset($mr) - || !file_exists("distributions/$df")) { + || !file_exists("$DOCUMENT_ROOT/distributions/$df")) { exit("Invalid file requested for download!"); }

« previous php.mirrors (#15492) next »