summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/acf_www-controller.lua2
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)