Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get_env(OsVar, AppVar) ->
- case os:getenv(OsVar) of
- false ->
- {ok, V} = application:get_env(AppVar),
- V;
- V -> V
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement