summaryrefslogtreecommitdiffstats
path: root/app/acf_www-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-04-22 19:44:45 +0000
committerTed Trask <ttrask01@yahoo.com>2008-04-22 19:44:45 +0000
commit84db09d81e4a9627b9467a9dfb205e75baf926e2 (patch)
treeee232aefd64e568e95c3c020df5310a238bed4c4 /app/acf_www-controller.lua
parent86cca6de0483cf5450ac9866131715cf438126b9 (diff)
downloadacf-core-84db09d81e4a9627b9467a9dfb205e75baf926e2.tar.bz2
acf-core-84db09d81e4a9627b9467a9dfb205e75baf926e2.tar.xz
Fixed automatic redirection to include prefix
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1033 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf_www-controller.lua')
-rw-r--r--app/acf_www-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 0dfbea7..2a54620 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -69,6 +69,7 @@ mvc.on_load = function (self, parent)
self.conf.libdir = self.conf.libdir or ( self.conf.appdir .. "/lib/" )
self.conf.sessiondir = self.conf.sessiondir or "/tmp/"
self.conf.appuri = "https://" .. ENV.HTTP_HOST .. ENV.SCRIPT_NAME
+ self.conf.default_prefix = "/"
self.conf.default_controller = "welcome"
self.conf.default_action = "read"
self.clientdata = FORM
@@ -135,7 +136,6 @@ end
mvc.post_exec = function (self)
sessionlib=require ("session")
- -- sessionlib.serialize("s", sessiondata))
if sessiondata.id then
sessionlib.save_session(conf.sessiondir, sessiondata)
end