# HG changeset patch # User jbe # Date 1425242493 -3600 # Node ID 23901a8f0d58fee71c52c20e60e829c07b674808 # Parent db79324a13fec19dd1ff8db5fa6c19aa3fd5637c Bugfix in request.process(): io.open instead of file.open diff -r db79324a13fe -r 23901a8f0d58 framework/env/request/process.lua --- a/framework/env/request/process.lua Sun Mar 01 21:38:07 2015 +0100 +++ b/framework/env/request/process.lua Sun Mar 01 21:41:33 2015 +0100 @@ -16,7 +16,7 @@ function() if request._route.static then - local f = assert(file.open(request._route.static, "r")) + local f = assert(io.open(request._route.static, "r")) local d = f:read("*a") f:close() slot.put_into("data", d)