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