shithub: werc

Download patch

ref: 7217875a4efdff19fb3a58eb70ca1063cd35757e
parent: d62089f983c5d72eea480613385862ed42cbb487
author: sl <uriel@engel.se.cat-v.org>
date: Sat Feb 7 19:23:33 EST 2009

Use new conf_enable_... interfaces, this also alos us to make the default for $enabled_apps nil.

--- a/etc/initrc
+++ b/etc/initrc
@@ -25,7 +25,7 @@
 debug=true
 
 # Globally enabled apps
-enabled_apps=( blagh )
+enabled_apps=( )
 
 # Default site variables, must be set in initrc.local or _werc/config, only siteTitle is required.
 #masterSite=cat-v.org # Not required!
--- a/lib/sitemap.tpl
+++ b/lib/sitemap.tpl
@@ -56,7 +56,6 @@
 }
 
 fltr_cache listDir $sitedir/
-#listDir $sitedir/
 
 if(test -s $tmpfile)
     mv $tmpfile $sitedir/sitemap.txt &
--- a/sites/werc.cat-v.org/_werc/config
+++ b/sites/werc.cat-v.org/_werc/config
@@ -1,5 +1,6 @@
+masterSite=default.cat-v.org
 siteTitle='werc'
 siteSubTitle=' Bringing minimalism and sanity to the web'
 conf_enable_comments
-enabled_apps=($enabled_apps hello dirdir )
+conf_enable_wiki admin