summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-01-04 08:53:32 +0000
committerTed Trask <ttrask01@yahoo.com>2010-01-04 08:53:32 +0000
commitb264e1673bee009cb5d67c9c4e6bf684dcc285f8 (patch)
tree8018ea2fac709530c0d784eb9674139db5295aa7 /app
parent9832585948b19a416fc07bea3b1a30c0788d17fe (diff)
downloadacf-core-b264e1673bee009cb5d67c9c4e6bf684dcc285f8.tar.bz2
acf-core-b264e1673bee009cb5d67c9c4e6bf684dcc285f8.tar.xz
Made libdir load order match appdir load order, bumped to 0.9.1v0.9.1
Diffstat (limited to 'app')
-rw-r--r--app/acf_www-controller.lua4
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")