mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +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()
|
||||
{
|
||||
// fix for getperms("L") check in lancheck.php
|
||||
define('ADMINPERMS', 'L');
|
||||
|
||||
require_once(e_ADMIN."lancheck.php");
|
||||
|
||||
|
Reference in New Issue
Block a user