Diff

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
parent 319:ba2e78661ea8
child 396:8cb21ef24e5d
line wrap: on
line diff
--- a/mod_admin_web/admin_web/mod_admin_web.lua	Wed Feb 02 23:52:31 2011 +0100
+++ b/mod_admin_web/admin_web/mod_admin_web.lua	Thu Feb 03 21:47:04 2011 +0100
@@ -29,7 +29,7 @@
 
 local service = {};
 
-local http_base = (prosody.paths.plugins or "./plugins/") .. "admin_web/www_files";
+local http_base = (prosody.paths.plugins or "./plugins") .. "/admin_web/www_files";
 
 local xmlns_adminsub = "http://prosody.im/adminsub";
 local xmlns_c2s_session = "http://prosody.im/streams/c2s";