|
@@ -7,11 +7,14 @@ compile(App,_Path) -> compile(App).
|
|
compile(Params) ->
|
|
compile(Params) ->
|
|
SysConfig = try {ok,[S]} = file:consult("sys.config"), S catch _:_ -> [] end,
|
|
SysConfig = try {ok,[S]} = file:consult("sys.config"), S catch _:_ -> [] end,
|
|
BERT = proplists:get_value(bert,SysConfig,[]),
|
|
BERT = proplists:get_value(bert,SysConfig,[]),
|
|
|
|
+ N2O = proplists:get_value(n2o,SysConfig,[]),
|
|
JS = proplists:get_value(js,BERT,[]),
|
|
JS = proplists:get_value(js,BERT,[]),
|
|
ERL = proplists:get_value(erl,BERT,[]),
|
|
ERL = proplists:get_value(erl,BERT,[]),
|
|
SWIFT = proplists:get_value(swift,BERT,[]),
|
|
SWIFT = proplists:get_value(swift,BERT,[]),
|
|
GOOGLE = proplists:get_value(google,BERT,[]),
|
|
GOOGLE = proplists:get_value(google,BERT,[]),
|
|
Disallowed = proplists:get_value(disallowed,BERT,[]),
|
|
Disallowed = proplists:get_value(disallowed,BERT,[]),
|
|
|
|
+ Igor = proplists:get_value(igor,N2O,[]),
|
|
|
|
+ application:set_env(n2o,igor,Igor),
|
|
application:set_env(bert,js,JS),
|
|
application:set_env(bert,js,JS),
|
|
application:set_env(bert,erl,ERL),
|
|
application:set_env(bert,erl,ERL),
|
|
application:set_env(bert,swift,SWIFT),
|
|
application:set_env(bert,swift,SWIFT),
|