diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-02-02 14:24:24 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-02-02 14:24:24 +0000 |
commit | 27c777f203a409442ca184f3aa20e703b4784927 (patch) | |
tree | 7552db683d705ad53eeb003a5f748448ea512281 /lua | |
parent | 66ce6092f2f81e8a0dc01c340f5d7d9d7b81d1cb (diff) | |
download | acf-core-27c777f203a409442ca184f3aa20e703b4784927.tar.bz2 acf-core-27c777f203a409442ca184f3aa20e703b4784927.tar.xz |
Fixed acf-cli to work with new mvc.lua changes
Diffstat (limited to 'lua')
-rwxr-xr-x | lua/mvc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua index ca5bc8e..bd69051 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -124,13 +124,14 @@ destroy = function (self) end -- This is a sample front controller/dispatch. -dispatch = function (self, userprefix, userctlr, useraction) +dispatch = function (self, userprefix, userctlr, useraction, clientdata) local controller = nil local success, err = xpcall ( function () self.conf.prefix = userprefix or "/" self.conf.controller = userctlr or "" self.conf.action = useraction or "" + if clientdata then self.clientdata = clientdata end -- If they didn't provide a controller, and a default was specified -- use it |