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