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