Add conf_enable_app to add items to $enabled_apps, used from conf_enable_xxx functions so one doesn't need to both add stuff to $eanbled_apps and then call conf_enable_xxx, and to avoid enabling the same app twice.

New conf_enable_wiki function to follow the interface of other apps.
This commit is contained in:
Uriel 2009-02-08 00:22:46 +00:00
parent fe5c67da46
commit 7151777d9b
4 changed files with 17 additions and 1 deletions

View file

@ -3,6 +3,7 @@ fn conf_enable_blog {
blagh_dirs=$*
if(~ $#blagh_dirs 0)
blagh_dirs=( . )
conf_enable_app blagh
}
fn blagh_init {