1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

admin perms fix for language area.

This commit is contained in:
Cameron
2013-11-05 22:22:47 -08:00
parent 67f48571f4
commit 6725cb4ffe
2 changed files with 3 additions and 4 deletions

View File

@@ -11,7 +11,8 @@
*
*/
require_once("../class2.php");
if (!getperms("0")) {
if (!getperms("L"))
{
header("location:".e_BASE."index.php");
exit;
}

View File

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