forked from hummypkg/webif
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:
17
var/mongoose/lib/setup
Normal file
17
var/mongoose/lib/setup
Normal 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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user