cvs: phpweb /error index.php

From: Date: Wed, 08 Jan 2003 20:51:38 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14880@lists.php.net to get a copy of this message
goba Wed Jan 8 15:51:38 2003 EDT Modified files: /phpweb/error index.php Log: Really replace that .html at the end, so that BC match will work again... Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.98 phpweb/error/index.php:1.99 --- phpweb/error/index.php:1.98 Wed Jan 8 14:18:53 2003 +++ phpweb/error/index.php Wed Jan 8 15:51:38 2003 @@ -28,7 +28,7 @@ if (preg_match("!^manual/([^/]+)$!", $URI, $array)) { mirror_redirect("/manual/$lang/$array[1]"); } elseif (preg_match("!^manual/html/([^/]+)$!", $URI, $array)) { - preg_replace("!.html$!", ".php", $array[1]); + $array[1] = preg_replace("!.html$!", ".php", $array[1]); mirror_redirect("/manual/$lang/print/$array[1]"); }

« previous php.mirrors (#14880) next »