diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bf7c86f37b..52850e0fcc 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-05-29 Sergio Martin + + * mobile/index.php: Disable the mobile console when + ACL Enterprise is enabled + 2014-05-28 Alejandro Gallardo * include/functions.php: Improved the Windows diff --git a/pandora_console/mobile/index.php b/pandora_console/mobile/index.php index 3b54226ed3..f63737da2b 100644 --- a/pandora_console/mobile/index.php +++ b/pandora_console/mobile/index.php @@ -58,6 +58,20 @@ if ($action != "ajax") { } } +// Disable mobile console if ALC enterprise is enabled +if ($system->getConfig('enterprise_installed') == 1 && $system->getConfig('acl_enterprise') == 1) { + $ui = Ui::getInstance(); + $system = System::getInstance(); + $ui->createPage(); + $ui->createHeader(__('Mobile console disabled')); + $ui->showFooter(false); + $ui->beginContent(); + $ui->contentAddHtml(ui_print_info_message(array('title' => '', 'message' => __('Mobile console is not available with ACL enterprise enabled. Please contact with the administrator.'), 'no_close' => true, 'force_style' => 'margin: 0 auto;'), '', true)); + $ui->endContent(); + $ui->showPage(); + return; +} + switch ($action) { case 'ajax': $parameter1 = $system->getRequest('parameter1', false);