Add global array so that we only do it once.
This commit is contained in:
parent
d24069e3d0
commit
8eee5cc222
|
@ -52,6 +52,8 @@ require_once('includes/Event.php');
|
||||||
require_once('includes/Group.php');
|
require_once('includes/Group.php');
|
||||||
require_once('includes/Monitor.php');
|
require_once('includes/Monitor.php');
|
||||||
|
|
||||||
|
$Servers = ZM\Server::find();
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')
|
(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')
|
||||||
or
|
or
|
||||||
|
|
Loading…
Reference in New Issue