Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Use rel/apps/couch_epi.config for configuring EPI
  • Loading branch information
iilyak committed Oct 1, 2015
1 parent 66a854b commit be34447c5ba0e474d851858b5346b33f864788e6
Showing 1 changed file with 4 additions and 1 deletion.
@@ -10,6 +10,9 @@
% License for the specific language governing permissions and limitations under
% the License.

ConfigFile = filename:join([os:getenv("COUCHDB_APPS_CONFIG_DIR"), "couch_epi.config"]).
{ok, AppConfig} = file:consult(ConfigFile).

{application, couch_epi,
[
{description, "extensible plugin interface"},
@@ -20,5 +23,5 @@
stdlib
]},
{mod, { couch_epi_app, []}},
{env, []}
{env, AppConfig}
]}.

0 comments on commit be34447

Please sign in to comment.