cvs: phpweb /error index.php

From: Date: Sun, 03 Feb 2002 11:28:09 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8454@lists.php.net to get a copy of this message
goba Sun Feb 3 06:28:09 2002 EDT Modified files: /phpweb/error index.php Log: So DOCroot has no trailing slash, now this may make this work ;) Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.34 phpweb/error/index.php:1.35 --- phpweb/error/index.php:1.34 Sun Feb 3 05:58:33 2002 +++ phpweb/error/index.php Sun Feb 3 06:28:09 2002 @@ -63,8 +63,8 @@ if ($uri[0] == "/") $uri = substr($uri,1); # handle common page shortcuts, like docs, links, support, etc. -if (file_exists("$DOCUMENT_ROOT$uri.php")) { - header("Location: http://$SERVER_NAME$uri.php"); +if (file_exists("$DOCUMENT_ROOT/$uri.php")) { + header("Location: http://$SERVER_NAME/$uri.php"); } # try to find the uri as a manual entry

« previous php.mirrors (#8454) next »