shithub: werc

Download patch

ref: 8ff30e77599940efccc2b68458ea1d1c9afc7b92
parent: 31820fabb6da1f4c8e0d6bb11ec7d849fe91c1db
author: uriel <uriel@vm41.cat-v.org>
date: Fri Jun 12 19:59:47 EDT 2009

Allo to set blagh conf_ options from initrc.local as well.

--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -4,9 +4,13 @@
     if(~ $#blagh_dirs 0)
         blagh_dirs=( . )
     conf_enable_app blagh
+
+    if(~ $"conf_blog_editors '')
+        conf_blog_editors=blog-editors
+
+    if(~ $"conf_max_posts_per_page '')
+        conf_max_posts_per_page=32
 }
-conf_blog_editors=blog-editors
-conf_max_posts_per_page=32
 
 fn blagh_init {
     if(~ $#blagh_dirs 0 && ~ $req_path */[bB]log/*) {