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

This commit is contained in:
Uriel 2009-06-12 23:59:47 +02:00
parent e197bfb743
commit a1c0c70f36

View file

@ -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/*) {