#13591 no id_layout enabled

This commit is contained in:
Jonathan 2024-04-24 15:28:20 +02:00
parent c3867e623b
commit e3fe2b01a2
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@
// GNU General Public License for more details.
require_once '../../include/config.php';
$id_layout = get_parameter('id_layout', null);
if ($id_layout !== null) {
include '../../general/noaccess.php';
return;
}
use PandoraFMS\User;
// Set root on homedir, as defined in setup.