Add global array so that we only do it once.

This commit is contained in:
Isaac Connor 2020-03-04 11:03:30 -05:00
parent d24069e3d0
commit 8eee5cc222
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ require_once('includes/Event.php');
require_once('includes/Group.php');
require_once('includes/Monitor.php');
$Servers = ZM\Server::find();
if (
(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')
or