From d9bcf68e395d6156645a7974b1a992aa6e6c00aa Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Mon, 14 Oct 2013 08:57:25 -0400 Subject: [PATCH] Added missing empty directories from svn import --- interface/web/dns/dns_template_edit.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/interface/web/dns/dns_template_edit.php b/interface/web/dns/dns_template_edit.php index 3f59627..5dda4da 100644 --- a/interface/web/dns/dns_template_edit.php +++ b/interface/web/dns/dns_template_edit.php @@ -48,6 +48,8 @@ $app->uses('tpl,tform,tform_actions'); $app->load('tform_actions'); +if($_SESSION["s"]["user"]["typ"] != 'admin') die('Access denied for non admin users.'); + class page_action extends tform_actions { } -- Gitblit v1.9.1