Allo to set blagh conf_ options from initrc.local as well.
This commit is contained in:
parent
e197bfb743
commit
a1c0c70f36
1 changed files with 6 additions and 2 deletions
|
|
@ -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/*) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue