mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-12088-colocar-enlace-de-la-consola-web-en-mensaje-del-correo-electronico-cuando-no-se-tenga-acceso' into 'develop'
Ent 12088 colocar enlace de la consola web en mensaje del correo electronico cuando no se tenga acceso See merge request artica/pandorafms!6501
This commit is contained in:
commit
c4e5a3bebd
@ -2404,13 +2404,17 @@ class ConsoleSupervisor
|
|||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
include_once $config['homedir'].'/include/functions_update_manager.php';
|
include_once $config['homedir'].'/include/functions_update_manager.php';
|
||||||
|
$server_name = db_get_value_filter(
|
||||||
|
'name',
|
||||||
|
'tserver',
|
||||||
|
[ 'server_type' => '1' ]
|
||||||
|
);
|
||||||
if (update_manager_verify_api() === false) {
|
if (update_manager_verify_api() === false) {
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
'type' => 'NOTIF.API.ACCESS',
|
'type' => 'NOTIF.API.ACCESS',
|
||||||
'title' => __('Cannot access the Pandora FMS API '),
|
'title' => __('Cannot access the Pandora FMS API '),
|
||||||
'message' => __('Please check the configuration, some components may fail due to this misconfiguration.'),
|
'message' => __('Please check the configuration, some components may fail due to this misconfiguration in '.$server_name.' ('.$config['public_url'].')'),
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user