Mercurial > prosody-modules
comparison mod_admin_web/admin_web/mod_admin_web.lua @ 328:73001ddff453
mod_admin_web: Fix path building
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Thu, 03 Feb 2011 21:47:04 +0100 |
parents | ba2e78661ea8 |
children | 8cb21ef24e5d |
comparison
equal
deleted
inserted
replaced
326:282abba844e8 | 328:73001ddff453 |
---|---|
27 | 27 |
28 module:set_global(); | 28 module:set_global(); |
29 | 29 |
30 local service = {}; | 30 local service = {}; |
31 | 31 |
32 local http_base = (prosody.paths.plugins or "./plugins/") .. "admin_web/www_files"; | 32 local http_base = (prosody.paths.plugins or "./plugins") .. "/admin_web/www_files"; |
33 | 33 |
34 local xmlns_adminsub = "http://prosody.im/adminsub"; | 34 local xmlns_adminsub = "http://prosody.im/adminsub"; |
35 local xmlns_c2s_session = "http://prosody.im/streams/c2s"; | 35 local xmlns_c2s_session = "http://prosody.im/streams/c2s"; |
36 local xmlns_s2s_session = "http://prosody.im/streams/s2s"; | 36 local xmlns_s2s_session = "http://prosody.im/streams/s2s"; |
37 | 37 |