fileparser: Safebox-usage fixed.

This commit is contained in:
Denis Knauf 2010-04-01 13:51:25 +02:00
parent 261d0ddc5f
commit ff2a4aa040

View file

@ -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