shithub: werc

Download patch

ref: bc3bc8c135d6b3b61836899169e0e46e6c5ad308
parent: 23e9d829bc041a41f244f8c559f373206439dabd
author: uriel <uriel@engel.se.cat-v.org>
date: Wed Jun 20 03:42:47 EDT 2007

Fix bug that broke project blogs (that had set blogDirs in parental _config)

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -132,7 +132,7 @@
 for ( i in '' $args ) {
     fpath = $fpath/$i
     # We don't want blog settings to cascade into posts, note that we are inBlog instead
-    if ( ! ~ $#blogDirs 0 && ! ~ $body */indexrss ) {
+    if ( ! ~ $#blogDirs 0 && ! ~ $body */indexrss */[bB]log */[bB]log/ ) {
         inBlog = $blogDirs
         blogDirs = () 
     }