Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv26975
Modified Files:
index.php
Log Message:
Allow archives/id_.html.
Index: index.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- index.php 25 May 2003 16:36:33 -0000 1.9
+++ index.php 25 May 2003 17:28:57 -0000 1.10
@@ -33,7 +33,7 @@
echo $data;
}
-else if (preg_match('@/(\d+)_\w+\.html@i', $uri, $matches)) {
+else if (preg_match('@/(\d+)_\w*\.html@i', $uri, $matches)) {
$id = $matches[1];
serendipity_track_referrer($id);
|