restructure requires, add initial plugin class and hook into settings

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@220 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2011-07-01 22:56:53 +00:00
parent 9116c6e8a9
commit d1cfff8899
17 changed files with 92 additions and 68 deletions

17
var/mongoose/lib/setup Normal file
View File

@@ -0,0 +1,17 @@
if {![exists -proc require]} {
proc require {args} {
foreach file $args {
uplevel source "/mod/var/mongoose/lib/$file"
}
}
proc header {} {
uplevel source /mod/var/mongoose/html/lib/header.jim
}
proc footer {} {
uplevel source /mod/var/mongoose/html/lib/footer.jim
}
}