mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Added check_login to plugin registration
This commit is contained in:
parent
2e4b320861
commit
2f8cdb5ea5
@ -17,6 +17,8 @@
|
||||
function pluginreg_extension_main () {
|
||||
global $config;
|
||||
|
||||
check_login();
|
||||
|
||||
if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_user'])) {
|
||||
db_pandora_audit("ACL Violation", "Trying to access Setup Management");
|
||||
require ("general/noaccess.php");
|
||||
|
Loading…
x
Reference in New Issue
Block a user