Comparison

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
comparison
equal deleted inserted replaced
1814:7b4e841dcd77 1815:abacf6698d97
8 -- 8 --
9 9
10 -- imports 10 -- imports
11 local st = require"util.stanza"; 11 local st = require"util.stanza";
12 local lfs = require"lfs"; 12 local lfs = require"lfs";
13 local join_path = require"util.paths".join;
14 local uuid = require"util.uuid".generate; 13 local uuid = require"util.uuid".generate;
14
15 local function join_path(a, b)
16 return a .. package.confg:sub(1,1) .. b;
17 end
15 18
16 -- depends 19 -- depends
17 module:depends("http"); 20 module:depends("http");
18 module:depends("disco"); 21 module:depends("disco");
19 22