freebsd-ports/net-mgmt/nagios4/files/patch-html_index.php.in
Mathieu Arnold c380437254 Update to 4.3.1.
Sponsored by:	Absolight
2017-05-02 10:46:37 +00:00

11 lines
341 B
PHP

--- html/index.php.in.orig 2017-02-23 20:00:40 UTC
+++ html/index.php.in
@@ -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 ("@COREWINDOW@" == "yes" && isset($_GET['corewindow'])) {