proc eval_plugins {hook} { foreach plugin [glob -nocomplain /mod/webif/plugin/*] { if {[file isfile "$plugin/$hook.hook"]} { uplevel source "$plugin/$hook.hook" } } }