mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Merge pull request #18 from SimSync/fix_adminperms
added missing constant ADMINPERMS to succeed the getperms check
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
protected function _before()
|
protected function _before()
|
||||||
{
|
{
|
||||||
|
// fix for getperms("L") check in lancheck.php
|
||||||
|
define('ADMINPERMS', 'L');
|
||||||
|
|
||||||
require_once(e_ADMIN."lancheck.php");
|
require_once(e_ADMIN."lancheck.php");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user