diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 15:03:23 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-28 15:03:23 +0000 |
commit | a506f1cf5243a5458af1ec4c13946fc88a7dbb84 (patch) | |
tree | 732fcae01363c8e68876cff76e19f8753df968ab /app | |
parent | 5700d48f9d9d6906937003297a7f35f9ba212c29 (diff) | |
download | acf-core-a506f1cf5243a5458af1ec4c13946fc88a7dbb84.tar.bz2 acf-core-a506f1cf5243a5458af1ec4c13946fc88a7dbb84.tar.xz |
Fixed template bug, remembered to actually remove the basename/dirname functions.
Diffstat (limited to 'app')
-rw-r--r-- | app/acf_www-controller.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |