From a506f1cf5243a5458af1ec4c13946fc88a7dbb84 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 28 Dec 2009 15:03:23 +0000 Subject: Fixed template bug, remembered to actually remove the basename/dirname functions. --- app/acf_www-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/acf_www-controller.lua') diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 2913f1e..5803464 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -98,7 +98,7 @@ find_template = function ( appdir, prefix, controller, action, viewtype ) end end -- not found, so try one level higher - if prefix == "." then -- already at the top level - fail + if prefix == "/" then -- already at the top level - fail return nil end prefix = posix.dirname (prefix) -- cgit v1.2.3