1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 08:14:46 +02:00

Issue #5064 - Draft fix for user impersonation (getperms())

This commit is contained in:
camer0n
2023-09-08 14:18:06 -07:00
parent 1ef0cc3352
commit 44526b435c
5 changed files with 104 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
if(!defined('e107_INIT')){ exit; }
if (!getperms("2"))
if (!getperms("2") && !e107::isCli())
{
e107::redirect();
exit;