mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Added is_central_policies function
This commit is contained in:
parent
de58fe7b90
commit
aaf8173b8a
@ -1363,6 +1363,11 @@ function is_metaconsole() {
|
|||||||
return (bool) $config['metaconsole'];
|
return (bool) $config['metaconsole'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function is_central_policies() {
|
||||||
|
global $config;
|
||||||
|
return is_metaconsole() && $config["centralized_management"];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if current execution is under an AJAX request.
|
* Checks if current execution is under an AJAX request.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user