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

(cherry picked from commit daeb4a8)
  • Loading branch information
Arjan Scherpenisse committed Sep 23, 2016
1 parent e9fae70 commit 65b9187
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 @@ -65,5 +65,11 @@
%%% 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 65b9187

Please sign in to comment.