summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-html__index.php
blob: 17d13bb30a26c4b4a444a5dee460ba6163ce89d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- html/index.php.orig	2015-08-19 21:49:52 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'])) {
 
 	// The default window url may have been overridden with a permalink...