cvs: docweb /www redirect.php
[email protected] ("Nuno Lopes")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvsnlopess1116876004@cvsserver> |
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 <[email protected]> |
+----------------------------------------------------------------------+
-$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) {