Software /
code /
prosody
Changeset
1121:063036ac82b7
Merge with 0.4
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 05 May 2009 16:17:40 +0100 |
parents | 1119:61a011ebe243 (current diff) 1120:23fa69b911f7 (diff) |
children | 1125:ad7c1cefb8eb |
files | |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prosodyctl Tue May 05 14:20:26 2009 +0100 +++ b/prosodyctl Tue May 05 16:17:40 2009 +0100 @@ -61,6 +61,9 @@ end end +local data_path = config.get("*", "core", "data_path") or CFG_DATADIR or "data"; +require "util.datamanager".set_data_path(data_path); + -- Switch away from root and into the prosody user -- local switched_user, current_uid; local ok, pposix = pcall(require, "util.pposix");