aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios/files/patch-html__index.php
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-14 14:23:36 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-14 14:23:36 +0000
commit121dea5a9ccd255531d4994462c8dee6fa48ec94 (patch)
tree0c8a66e69356492d3cd3e1bfa308b3fa2605dc8e /net-mgmt/nagios/files/patch-html__index.php
parent115233d891650ac67604c5f0727122adf00cf1cc (diff)
downloadports-121dea5a9ccd255531d4994462c8dee6fa48ec94.tar.gz
ports-121dea5a9ccd255531d4994462c8dee6fa48ec94.zip
Notes
Diffstat (limited to 'net-mgmt/nagios/files/patch-html__index.php')
-rw-r--r--net-mgmt/nagios/files/patch-html__index.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/nagios/files/patch-html__index.php b/net-mgmt/nagios/files/patch-html__index.php
new file mode 100644
index 000000000000..aed29849d62d
--- /dev/null
+++ b/net-mgmt/nagios/files/patch-html__index.php
@@ -0,0 +1,13 @@
+--- ./html/index.php.orig 2013-08-30 19:46:14.000000000 +0200
++++ ./html/index.php 2014-01-14 13:57:06.000000000 +0100
+@@ -8,8 +8,9 @@
+ </head>
+
+ <?php
++include_once(dirname(__FILE__).'/includes/utils.inc.php');
+ // allow specifying main window URL for permalinks, etc.
+-$corewindow="main.php";
++$corewindow=$cfg["cgi_base_url"]."/tac.cgi";
+ if(isset($_GET['corewindow'])){
+
+ // default window url may have been overridden with a permalink...