fileparser: Safebox-usage fixed.
This commit is contained in:
parent
261d0ddc5f
commit
ff2a4aa040
|
@ -73,7 +73,7 @@ module LogAn::Inc
|
|||
begin
|
||||
configs = @conf[:configs] = {}
|
||||
%w[hosts files].each {|key| configs[key.to_sym] = config( @etc, key) {|l| l } }
|
||||
configs[:fileparser] = config( @etc, 'fileparser') {|val| Safebox.run "[#{val}]"}
|
||||
configs[:fileparser] = config @etc, 'fileparser', &Safebox.method( :eval)
|
||||
LogAn::Inc::SID0.config = configs
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue