cvs: docweb /www redirect.php
| From: | Nuno Lopes | Date: | Mon, 23 May 2005 19:20:04 +0000 |
| Subject: | cvs: docweb /www redirect.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-665@lists.php.net to get a copy of this message | ||
nlopess Mon May 23 15:20:04 2005 EDT
Modified files:
/docweb/www redirect.php
Log:
ups.. use the cached uri
http://cvs.php.net/diff.php/docweb/www/redirect.php?r1=1.5&r2=1.6&ty=u
Index: docweb/www/redirect.php
diff -u docweb/www/redirect.php:1.5 docweb/www/redirect.php:1.6
--- docweb/www/redirect.php:1.5 Mon May 23 13:30:58 2005
+++ docweb/www/redirect.php Mon May 23 15:20:03 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Sean Coates <sean@php.net> |
+----------------------------------------------------------------------+
-$Id: redirect.php,v 1.5 2005/05/23 17:30:58 nlopess Exp $
+$Id: redirect.php,v 1.6 2005/05/23 19:20:03 nlopess Exp $
*/
require_once('../include/lib_proj_lang.inc.php');
@@ -90,7 +90,7 @@
// If it's a PHP file include it, otherwise pass it through
if (substr($uri, -4) == '.php') {
- require(part_get_filename($uri));
+ require($uri);
} else {
// get the file mime type
foreach ($mime_types as $ext => $type) {