mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
admin perms fix for language area.
This commit is contained in:
@@ -11,7 +11,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
require_once("../class2.php");
|
require_once("../class2.php");
|
||||||
if (!getperms("0")) {
|
if (!getperms("L"))
|
||||||
|
{
|
||||||
header("location:".e_BASE."index.php");
|
header("location:".e_BASE."index.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@@ -7,9 +7,7 @@
|
|||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
* Administration Area - Languages
|
* Administration Area - Languages
|
||||||
*
|
|
||||||
* $URL$
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
require_once ("../class2.php");
|
require_once ("../class2.php");
|
||||||
if (!getperms('L'))
|
if (!getperms('L'))
|
||||||
|
Reference in New Issue
Block a user