webmcp

changeset 251:23901a8f0d58

Bugfix in request.process(): io.open instead of file.open
author jbe
date Sun Mar 01 21:41:33 2015 +0100 (2015-03-01)
parents db79324a13fe
children e60ef3334d92
files framework/env/request/process.lua
line diff
     1.1 --- a/framework/env/request/process.lua	Sun Mar 01 21:38:07 2015 +0100
     1.2 +++ b/framework/env/request/process.lua	Sun Mar 01 21:41:33 2015 +0100
     1.3 @@ -16,7 +16,7 @@
     1.4      function()
     1.5  
     1.6        if request._route.static then
     1.7 -        local f = assert(file.open(request._route.static, "r"))
     1.8 +        local f = assert(io.open(request._route.static, "r"))
     1.9          local d = f:read("*a")
    1.10          f:close()
    1.11          slot.put_into("data", d)

Impressum / About Us