Software /
code /
prosody-modules
Changeset
1815:abacf6698d97
mod_http_upload: Include join_path function, should make it work with 0.9.x
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 Sep 2015 12:22:29 +0200 |
parents | 1814:7b4e841dcd77 |
children | 1816:e5d723afd6ba |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Tue Sep 01 11:01:42 2015 +0200 +++ b/mod_http_upload/mod_http_upload.lua Tue Sep 01 12:22:29 2015 +0200 @@ -10,9 +10,12 @@ -- imports local st = require"util.stanza"; local lfs = require"lfs"; -local join_path = require"util.paths".join; local uuid = require"util.uuid".generate; +local function join_path(a, b) +return a .. package.confg:sub(1,1) .. b; +end + -- depends module:depends("http"); module:depends("disco");