[geeklog-cvs] geeklog: Enable URL rewrite in static pages search results

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Apr 20 08:13:59 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/815b2faf521b
changeset: 6980:815b2faf521b
user:      Dirk Haun <dirk at haun-online.de>
date:      Mon Apr 20 11:46:36 2009 +0200
description:
Enable URL rewrite in static pages search results

diffstat:

1 file changed, 1 insertion(+)
plugins/staticpages/functions.inc |    1 +

diffs (11 lines):

diff -r f2083187ce9a -r 815b2faf521b plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc	Mon Apr 20 11:23:37 2009 +0200
+++ b/plugins/staticpages/functions.inc	Mon Apr 20 11:46:36 2009 +0200
@@ -627,6 +627,7 @@
     $search->setSQL($sql);
     $search->setFTSQL($ftsql);
     $search->setRank(3);
+    $search->setURLRewrite(true);
 
     return $search;
 }



More information about the geeklog-cvs mailing list