Fix blah to work with new handler interfaces.

Remove outdated app-framework code.
Clanup some of the fallback handler setting code.
This commit is contained in:
Uriel 2009-01-11 04:40:40 +01:00
parent e75232761a
commit 889e844d73
3 changed files with 10 additions and 17 deletions

View file

@ -279,19 +279,10 @@ fn make_blog_post {
# App framework
fn init_apps {
found=()
for(a in $enabled_apps) {
. ./apps/$a/app.rc
if($a^'_init')
found=yes
$a^'_init'
}
~ $#found 1 # Set status
}
fn app_handler {
if(! ~ $#app_body_handler 0)
$app_body_handler
}