summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-html__index.php
blob: 74895cc3e698a82c545e65ff39b87ccc3f482c0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- html/index.php.orig	2014-08-12 15:00:01 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...