From 6725cb4ffeedba555974371ace7525bc0900d9ce Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 5 Nov 2013 22:22:47 -0800 Subject: [PATCH] admin perms fix for language area. --- e107_admin/lancheck.php | 3 ++- e107_admin/language.php | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/e107_admin/lancheck.php b/e107_admin/lancheck.php index 1641a5686..634e39886 100644 --- a/e107_admin/lancheck.php +++ b/e107_admin/lancheck.php @@ -11,7 +11,8 @@ * */ require_once("../class2.php"); -if (!getperms("0")) { +if (!getperms("L")) +{ header("location:".e_BASE."index.php"); exit; } diff --git a/e107_admin/language.php b/e107_admin/language.php index 0691f0614..e83372dac 100644 --- a/e107_admin/language.php +++ b/e107_admin/language.php @@ -7,9 +7,7 @@ * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * Administration Area - Languages - * - * $URL$ - * $Id$ + */ require_once ("../class2.php"); if (!getperms('L'))