summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-html_index.php
blob: a88115cd7c4cfc41c28022dbc9695f0ea0145a1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- html/index.php.orig	2016-08-01 15:46:23 UTC
+++ html/index.php
@@ -1,6 +1,7 @@
 <?php
+include_once(dirname(__FILE__).'/includes/utils.inc.php');
 // Allow specifying main window URL for permalinks, etc.
-$url = 'main.php';
+$url = $cfg['cgi_base_url'].'/tac.cgi';
 
 if (isset($_GET['corewindow'])) {