Software /
code /
prosody-modules
Diff
mod_http_upload/mod_http_upload.lua @ 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 |
parent | 1805:25c28644fae8 |
child | 1817:1971ff719e72 |
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");