forked from hummypkg/webif
fix plugin error
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@233 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
9
var/mongoose/lib/plugin
Normal file
9
var/mongoose/lib/plugin
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
proc eval_plugins {hook} {
|
||||
foreach plugin [glob /mod/var/mongoose/plugin/*] {
|
||||
if {[file isfile "$plugin/$hook.hook"]} {
|
||||
uplevel source "$plugin/$hook.hook"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user