# HG changeset patch # User Kim Alvefur # Date 1441102949 -7200 # Node ID abacf6698d97d5db5d9776a49f628c3bfa053739 # Parent 7b4e841dcd774b20e6e2aa1e194536d26cac50e4 mod_http_upload: Include join_path function, should make it work with 0.9.x diff -r 7b4e841dcd77 -r abacf6698d97 mod_http_upload/mod_http_upload.lua --- 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");