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'))