Fallback to Config if Mix.Config does not exist, even if Config does not
authorrinpatch <rinpatch@sdf.org>
Fri, 21 Jun 2019 23:29:49 +0000 (02:29 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 21 Jun 2019 23:29:49 +0000 (02:29 +0300)
commitf4009b6706781f7d6caf75a29cc6e700e7c7e88f
tree977456db656b7cc9ad867488c09502b3e0cf17b3
parent55742d978d15bba75bcae9c6f2d91afbb77d0dc5
Fallback to Config if Mix.Config does not exist, even if Config does not
exist either

For some weird reason Code.ensure_loaded?(Config) is false on OTP
releases even though `use Config` from config files works just fine.
priv/templates/sample_config.eex