diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/acf_www-controller.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 017b574..fdabc0b 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -252,9 +252,7 @@ mvc.on_load = function (self, parent) parent_exception_handler = parent.exception_handler -- this sets the package path for us and our children - for p in string.gmatch(self.conf.libdir, "[^,]+") do - package.path= p .. "?.lua;" .. package.path - end + package.path = string.gsub(self.conf.libdir, ",", "/?.lua;") .. "/?.lua;" .. package.path sessionlib=require ("session") |