From a1c0c70f36cf5126aefe30aaa98e3865258650d5 Mon Sep 17 00:00:00 2001 From: Uriel Date: Fri, 12 Jun 2009 23:59:47 +0200 Subject: [PATCH] Allo to set blagh conf_ options from initrc.local as well. --- apps/blagh/app.rc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc index 95f4a35..18309e8 100644 --- a/apps/blagh/app.rc +++ b/apps/blagh/app.rc @@ -4,9 +4,13 @@ fn conf_enable_blog { 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/*) {