webif/var/mongoose/lib/setup

26 lines
461 B
Plaintext
Raw Normal View History

if {![exists -proc require]} {
proc require {args} {{done {}}} {
foreach file $args {
if {$file ni $done} {
uplevel source "/mod/var/mongoose/lib/$file"
lappend $done $file
}
}
}
proc header {} {
uplevel source /mod/var/mongoose/html/lib/header.jim
}
proc footer {} {
uplevel source /mod/var/mongoose/html/lib/footer.jim
}
# Replace the built-in jim {file copy} command with one that is
# largefile safe.
require filecopy
}