Module z_config

Wrapper for Zotonic application environment configuration.

Copyright 2010-2015 Marc Worrell, 2014 Arjan Scherpenisse

Authors: Marc Worrell (marc@worrell.nl).

Description

Wrapper for Zotonic application environment configuration

Function Index

get/1Get value from config file (cached).
get/2Get value from config file, returning default value when not set (cached).
init_app_env/0Copy some zotonic config settings over to other applications.

Function Details

get/1

get(Key::atom()) -> any()

Get value from config file (cached)

Some config settings can be overruled by environment settings.

get/2

get(Key::atom(), Default::any()) -> any()

Get value from config file, returning default value when not set (cached).

init_app_env/0

init_app_env() -> ok

Copy some zotonic config settings over to other applications


Generated by EDoc, Dec 9 2016, 15:47:27.