diff options
Diffstat (limited to 'acf/persistence/backends/files.lua')
-rw-r--r-- | acf/persistence/backends/files.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/acf/persistence/backends/files.lua b/acf/persistence/backends/files.lua index 8e59ab9..bc9c111 100644 --- a/acf/persistence/backends/files.lua +++ b/acf/persistence/backends/files.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2012 Kaarle Ritvanen +Copyright (c) 2012-2013 Kaarle Ritvanen See LICENSE file for license details --]] @@ -17,7 +17,7 @@ backend = require('acf.object').class() function backend:init() self.cache = {} end function backend:get(path) - local name = pth.join('/', unpack(path)) + local name = pth.mjoin('/', unpack(path)) if not self.cache[name] then local attrs = lfs.attributes(name) @@ -46,7 +46,7 @@ end function backend:set(mods) for _, mod in pairs(mods) do local path, t, value = unpack(mod) - local name = pth.join('/', unpack(path)) + local name = pth.mjoin('/', unpack(path)) -- TODO save references (t == 'reference') as symlinks |