cvs: phpweb / error.php

From: Date: Fri, 07 Nov 2003 16:08:19 +0000
Subject: cvs: phpweb / error.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-21861@lists.php.net to get a copy of this message
goba Fri Nov 7 11:08:19 2003 EDT Modified files: /phpweb error.php Log: Try to fix the missing images in the printed versions of the manual Index: phpweb/error.php diff -u phpweb/error.php:1.12 phpweb/error.php:1.13 --- phpweb/error.php:1.12 Fri Oct 31 08:23:43 2003 +++ phpweb/error.php Fri Nov 7 11:08:19 2003 @@ -1,6 +1,6 @@ <?php -// $Id: error.php,v 1.12 2003/10/31 13:23:43 goba Exp $ +// $Id: error.php,v 1.13 2003/11/07 16:08:19 goba Exp $ /* @@ -89,6 +89,11 @@ } include $_SERVER['DOCUMENT_ROOT'] . "/manual/$parts[1]/index.php"; exit; +} + +// Rediretion for printed page image displays +elseif (preg_match("!^manual/(\\w+)/(print|printwn|tableless)/figures/(.+)$!", $URI, $parts)) { + mirror_redirect("/manual/$parts[1]/figures/$parts[3]"); } // ============================================================================

« previous php.mirrors (#21861) next »