Skip to content

Commit

Permalink
core: Add default config for 'setup' application
Browse files Browse the repository at this point in the history
Prevents log and data directories to be created in root of the Zotonic
directory.

Fixes #1424
  • Loading branch information
Arjan Scherpenisse committed Sep 23, 2016
1 parent 2de63c0 commit daeb4a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions priv/erlang.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@
%%% disabled by default because both erlang and yaws implementations are buggy
{use_sendfile, disable}

]},

{setup,
[
{data_dir, "priv/data"},
{log_dir, "priv/log"}
]}

].

0 comments on commit daeb4a8

Please sign in to comment.