summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-02-02 22:19:45 +0000
committerTed Trask <ttrask01@yahoo.com>2012-02-02 22:19:45 +0000
commitc6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3 (patch)
tree96c67df79fc817e031d724181b1e759acb72f20a /bin
parentdf80810456f4a13d48eba24bfa1fa79b360c8426 (diff)
downloadacf-core-c6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3.tar.bz2
acf-core-c6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3.tar.xz
Changed mvc and www view_resolvers to make auto_view work
Templates (for www) now receive a viewfunc, rather than using viewfile. Actions without views with viewtype of html, ajax, stream, or serialized will now be displayed using standard code. Fixed bug in acf-cli parameters messing up action
Diffstat (limited to 'bin')
-rwxr-xr-xbin/acf-cli2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/acf-cli b/bin/acf-cli
index d2f7006..1c2fe6a 100755
--- a/bin/acf-cli
+++ b/bin/acf-cli
@@ -30,7 +30,7 @@ APP=FRAMEWORK:new("acf_cli")
local p,c,a = APP.parse_path_info(arg[1])
local clientdata = {}
for i=2,#arg do
- a,v = string.match(arg[i], "([^=]*)=(.*)")
+ local a,v = string.match(arg[i], "([^=]*)=(.*)")
if v then
clientdata[a] = v
else