summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-html_index.php
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-21 11:12:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-21 11:12:59 +0000
commitbc0be36fe796605d98b831f1987e8e4996709288 (patch)
tree46c89d3c5477b787dcfa4e2b1741f4779f64862a /net-mgmt/nagios4/files/patch-html_index.php
parentUpdate to 2.1.4. (diff)
Update to 4.2.4.
Reported by: portscout Sponsored by: Absolight
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'])) {
+