summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-html_index.php
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios4/files/patch-html_index.php')
-rw-r--r--net-mgmt/nagios4/files/patch-html_index.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-html_index.php b/net-mgmt/nagios4/files/patch-html_index.php
new file mode 100644
index 000000000000..2be0be1b3471
--- /dev/null
+++ b/net-mgmt/nagios4/files/patch-html_index.php
@@ -0,0 +1,11 @@
+--- html/index.php.orig 2016-12-07 16:31:10 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'])) {
+