z_sites_config (zotonic_core v1.0.0-rc.14)
Link to this section Summary
Functions
Merge the global config options into the site's options, adding defaults.
Link to this section Functions
Link to this function
app_is_site(App)
-spec app_is_site(atom()) -> boolean().
Link to this function
config_files(Site)
-spec config_files(atom()) -> [file:filename_all()].
Link to this function
config_files(Node, Site)
-spec config_files(node(), atom()) -> [file:filename_all()].
Link to this function
merge_global_configs(Sitename, SiteConfig, GlobalConfig)
-spec merge_global_configs(atom(), map(), map()) -> map().
Link to this function
read_configs(Fs)
-spec read_configs([file:filename_all()]) -> {ok, map()} | {error, term()}.