diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-05-30 22:57:06 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-05-30 22:57:06 +0000 |
commit | 3d4463e2b16596960ff7ba44a93b87afeeea2831 (patch) | |
tree | 0590b43a603b42d539879a282a37db442f207af8 /lua/mvc.lua | |
parent | 2d34b61db1eb8f4f59ee22907c98a911eddcee9f (diff) | |
download | acf-core-3d4463e2b16596960ff7ba44a93b87afeeea2831.tar.bz2 acf-core-3d4463e2b16596960ff7ba44a93b87afeeea2831.tar.xz |
Add home config option to acf.conf for default home page
The default_prefix and default_controller logic was broken, and is now removed
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-x | lua/mvc.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua index aa0cc28..863b45f 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -136,13 +136,6 @@ dispatch = function (self, userprefix, userctlr, useraction, clientdata) 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 - if self.conf.controller == "" and self.conf.default_controller then - self.conf.controller = self.conf.default_controller - self.conf.prefix = self.conf.default_prefix or "/" - end - local worker_loaded controller, worker_loaded = self:new(self.conf.prefix .. self.conf.controller) |