String-based config for files and hosts. Safebox-eval for fileparser
This commit is contained in:
parent
3fa3ac495d
commit
c4d3e75223
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module LogAn::Inc
|
|||
# Open configs
|
||||
begin
|
||||
configs = @conf[:configs] = {}
|
||||
%w[hosts files].each {|key| configs[key.to_sym] = config( @etc, key) }
|
||||
%w[hosts files].each {|key| configs[key.to_sym] = config( @etc, key) {|l|l} }
|
||||
configs[:fileparser] = config( @etc, 'fileparser') {|val| Safebox.run "[#{val}]"}
|
||||
LogAn::Inc::SID0.config = configs
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue