freebsd-ports/net-mgmt/nagios4/files/patch-html__index.php
Mathieu Arnold b346baff91 Update to 4.1.1.
Use the new options targets, and replace most of the patches with sed.

Sponsored by:	Absolight
2015-08-21 13:49:09 +00:00

11 lines
379 B
PHP

--- html/index.php.orig 2015-08-19 21:49:52 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...