cvs: phpweb / error.php get_download.php

From: Date: Sat, 09 Aug 2003 16:43:40 +0000
Subject: cvs: phpweb / error.php get_download.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-20084@lists.php.net to get a copy of this message
goba Sat Aug 9 12:43:40 2003 EDT Removed files: /phpweb get_download.php Modified files: /phpweb error.php Log: Movet get_download out of the website root, as it is not supported to access this directly. Download mirror selections are supported via the /get/$filename/from/a/mirror URLs Index: phpweb/error.php diff -u phpweb/error.php:1.1 phpweb/error.php:1.2 --- phpweb/error.php:1.1 Sat Aug 9 05:35:00 2003 +++ phpweb/error.php Sat Aug 9 12:43:40 2003 @@ -1,6 +1,6 @@ <?php -// $Id: error.php,v 1.1 2003/08/09 09:35:00 goba Exp $ +// $Id: error.php,v 1.2 2003/08/09 16:43:40 goba Exp $ /* @@ -104,7 +104,7 @@ // Mirror selection page if ($dlinfo[2] == "a") { - include_once $_SERVER['DOCUMENT_ROOT'] . "/get_download.php"; + include_once $_SERVER['DOCUMENT_ROOT'] . "/include/get-download.inc"; exit; } @@ -115,7 +115,7 @@ else { $mr = "http://{$dlinfo[2]}/"; } // Start the download process - include "do-download.inc"; + include $_SERVER['DOCUMENT_ROOT'] . "/include/do-download.inc"; download_file($mr, $df); exit; }

« previous php.mirrors (#20084) next »