Add sample 'hello world' app and enabled_apps config variable.

This commit is contained in:
Uriel 2008-12-21 09:37:40 +01:00
parent 2928632eba
commit 322db9393d
3 changed files with 16 additions and 4 deletions

12
apps/hello/app.rc Executable file
View file

@ -0,0 +1,12 @@
fn hello_test {
~ $req_path /hello
}
fn hello_setup {
app_body_handler = 'hello_body'
pageTitle='Hi title!'
}
fn hello_body {
echo 'Hello world!'
}