summaryrefslogtreecommitdiffstats
path: root/openssl-editconfigfile-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-17 10:26:02 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-17 10:26:02 +0000
commitc6cc30b44087e6af84283dcf8d199bb95f35fdf5 (patch)
tree04a22104badd39642238ae4452da379c57f1baa3 /openssl-editconfigfile-html.lsp
parentf3924b39a0ace447a8a0ecdbfd0a1a76cb7264d8 (diff)
downloadacf-openssl-c6cc30b44087e6af84283dcf8d199bb95f35fdf5.tar.bz2
acf-openssl-c6cc30b44087e6af84283dcf8d199bb95f35fdf5.tar.xz
Use viewlibrary.check_permission from acf-core-0.9.0
Diffstat (limited to 'openssl-editconfigfile-html.lsp')
-rw-r--r--openssl-editconfigfile-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-editconfigfile-html.lsp b/openssl-editconfigfile-html.lsp
index 4626e8d..ab13038 100644
--- a/openssl-editconfigfile-html.lsp
+++ b/openssl-editconfigfile-html.lsp
@@ -9,6 +9,6 @@ local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "fi
func(form, viewlibrary, page_info, session)
%>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions.openssl.checkenvironment then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("checkenvironment") then
viewlibrary.dispatch_component("checkenvironment")
end %>