changeset 1790 | f06688f9b6c6 |
parent 1789 | 23a66fdf541e |
child 1894 | 53f34ba6f6d6 |
--- a/prosody Sat Sep 19 11:17:30 2009 +0100 +++ b/prosody Sat Sep 19 11:25:59 2009 +0100 @@ -100,6 +100,11 @@ prosody.platform = "posix"; end + prosody.installed = nil; + if CFG_SOURCEDIR and (prosody.platform == "windows" or CFG_SOURCEDIR:match("^/")) then + prosody.installed = true; + end + -- Function to reload the config file function prosody.reload_config() log("info", "Reloading configuration file");