From 8c932c3a550a7ae016817cba3fc6fc0fa510a30a Mon Sep 17 00:00:00 2001 From: Uriel Date: Sat, 28 Feb 2009 13:26:40 +0000 Subject: [PATCH] Rename $blog_editors to $conf_blog_editors and give it the default value of 'blog-editors'. --- apps/blagh/app.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc index f1fd936..b5bd8f2 100644 --- a/apps/blagh/app.rc +++ b/apps/blagh/app.rc @@ -5,6 +5,7 @@ fn conf_enable_blog { blagh_dirs=( . ) conf_enable_app blagh } +conf_blog_editors=blog-editors fn blagh_init { if(~ $#blagh_dirs 0 && ~ $req_path */[bB]log/*) { @@ -17,7 +18,7 @@ fn blagh_init { # && test -d / `{echo '-a -d '^$blagh_root^$blagh_dirs} blagh_url=$base_url^$blagh_uri blagh_root=$sitedir^$blagh_uri - if(check_user $blog_editors blog-editors) { + if(check_user $conf_blog_editors) { editor_mode=on if(~ $"post_arg_date '') post_date=`{/bin/date +%F|sed 's,-,/,g'}