mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#13591 no dashboarid enabled
This commit is contained in:
parent
b011b746c0
commit
c3867e623b
@ -38,6 +38,13 @@ ob_start();
|
||||
// Fullscreen by default.
|
||||
$config['pure'] = get_parameter('pure', 1);
|
||||
|
||||
$dashboardId = get_parameter('dashboardId', null);
|
||||
if ($dashboardId !== null) {
|
||||
include 'general/noaccess.php';
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
require_once 'dashboard.php';
|
||||
|
||||
// Clean session to avoid direct access.
|
||||
|
Loading…
x
Reference in New Issue
Block a user