cvs: phpweb /error index.php

From: Date: Fri, 07 Jun 2002 10:26:28 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10710@lists.php.net to get a copy of this message
goba Fri Jun 7 06:26:28 2002 EDT Modified files: /phpweb/error index.php Log: I should have looked more into this regexp ;)) Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.59 phpweb/error/index.php:1.60 --- phpweb/error/index.php:1.59 Fri Jun 7 05:50:46 2002 +++ phpweb/error/index.php Fri Jun 7 06:26:28 2002 @@ -79,7 +79,7 @@ // that this is included, and not redirected, as this way // all relative URL's will retain their meaning and point // to pages relative to the print dir (which is nonexistent) -if (preg_match("!^manual/(\\w+)/print/(.php)$!", $uri, $parts)) { +if (preg_match("!^manual/(\\w+)/print/(.+\\.php)$!", $uri, $parts)) { $PRINT_PAGE = TRUE; include "../manual/$parts[1]/$parts[2]"; exit;

« previous php.mirrors (#10710) next »