Update cache.lua
This commit is contained in:
@@ -84,7 +84,6 @@ function Cache.get(key)
|
|||||||
--freeswitch.consoleLog("notice", "[cache] location: " .. cache.location .. "/" .. key .."\n");
|
--freeswitch.consoleLog("notice", "[cache] location: " .. cache.location .. "/" .. key .."\n");
|
||||||
local file, err = io.open(cache.location .. "/" .. key, "rb")
|
local file, err = io.open(cache.location .. "/" .. key, "rb")
|
||||||
result = file:read("*all")
|
result = file:read("*all")
|
||||||
err = '';
|
|
||||||
else
|
else
|
||||||
err = 'NOT FOUND';
|
err = 'NOT FOUND';
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user