shithub: werc

Download patch

ref: 2533d52e0cf8ceae3613f7aa16b7b9bd82ec01b6
parent: cc5b684e2697a8ce37efc1b4d10e58f852940f71
author: uriel <[email protected]>
date: Fri Jun 15 10:10:31 EDT 2007

Hack on top of hack: set inBlog for dirs that are magically set as blogs

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -134,6 +134,10 @@
         inBlog = $blogDirs
         blogDirs = () 
     }
+
+    if ( ~ $#inBlog 0 && ~ $i [Bb]log )
+        inBlog = 'yes'
+
     if ( test -f $fpath/_config )
         . $fpath/_config
 }