cvs: phpweb /error index.php

From: Date: Thu, 16 May 2002 21:38:42 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10283@lists.php.net to get a copy of this message
goba Thu May 16 17:38:42 2002 EDT Modified files: /phpweb/error index.php Log: Putting the dochowto thing to the right place Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.51 phpweb/error/index.php:1.52 --- phpweb/error/index.php:1.51 Tue May 14 17:12:08 2002 +++ phpweb/error/index.php Thu May 16 17:38:40 2002 @@ -24,12 +24,6 @@ exit; } -// Direct support for documentation howto link -if ($REQUEST_URI == 'dochowto') { - header("Location: http://cvs.php.net/co.php/phpdoc/howto/howto.html.tar.gz"); - exit; -} - // Get preferred language, and check for // existing manual in that language $lang = default_language(); @@ -132,6 +126,9 @@ exit; } elseif ($function == "blog") { header("Location: http://$SERVER_NAME/manual/$lang/build.log.gz"); + exit; +} else if ($function == "dochowto") { + header("Location: http://cvs.php.net/co.php/phpdoc/howto/howto.html.tar.gz"); exit; }

« previous php.mirrors (#10283) next »