Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2067
Modified Files:
serendipity_config.inc.php
Log Message:
Allow to receive trackbacks to the '-guid.html' permalink
I added a new preg matching patter to PAT_COMMENTSUB to catch the filename part. That shouldn't create BC problems, and htaccess doesn't need to be updated. However I think we should find a way to rename PAT_COMMENTSUB to match what it really does - to display an extended entry...?
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -d -r1.125 -r1.126
--- serendipity_config.inc.php 2 Jan 2005 15:52:45 -0000 1.125
+++ serendipity_config.inc.php 3 Jan 2005 12:14:24 -0000 1.126
@@ -130,7 +130,7 @@
@define('PAT_DELETE', '@/'.PATH_DELETE.'/(.*)/(.*)/([0-9]+)@');
@define('PAT_ARCHIVES', '@/'.PATH_ARCHIVES.'([/A-Za-z0-9]+)\.html@');
@define('PAT_AUTHORS', '@/'.PATH_AUTHORS.'/([0-9]+)@');
-@define('PAT_COMMENTSUB', '@/([0-9]+)[_\-][' . PAT_FILENAME . ']*\.html@i');
+@define('PAT_COMMENTSUB', '@/([0-9]+)[_\-]([' . PAT_FILENAME . ']*)\.html@i');
@define('PAT_FEEDS', '@/'.PATH_FEEDS.'/@');
@define('PAT_FEED', '@/(index|atom|rss|b2rss|b2rdf).(rss|rdf|rss2|xml)$@');
@define('PAT_ADMIN', '@/(' . PATH_ADMIN . '|'. PATH_ENTRIES .')(/.+)?@');
|