cvs: phpweb /error index.php

From: Date: Wed, 27 Dec 2000 17:30:10 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-3200@lists.php.net to get a copy of this message
gareth Wed Dec 27 09:30:10 2000 EDT Modified files: /phpweb/error index.php Log: Make the manual lookup shortcut work no matter where a mirror has the site checked out to. This works for me; hopefully it won't break the other sites Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.7 phpweb/error/index.php:1.8 --- phpweb/error/index.php:1.7 Sat Dec 16 08:13:47 2000 +++ phpweb/error/index.php Wed Dec 27 09:30:10 2000 @@ -14,9 +14,7 @@ exit; } -$uri=strstr($REDIRECT_REDIRECT_ERROR_NOTES,'phpweb/'); -$uri = strchr($uri,'/'); -$uri = substr($uri,1); +$uri=substr($REDIRECT_REDIRECT_ERROR_NOTES,strpos($REDIRECT_REDIRECT_ERROR_NOTES,$DOCUMENT_ROOT)+strlen($DOCUMENT_ROOT)+1); if(strchr($uri,'/')) { list($lang,$function) = explode('/',$uri,2);

« previous php.mirrors (#3200) next »