diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-23 14:36:01 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-23 14:36:01 +0000 |
commit | cd66fda28d95013e9d8b2927ddf395bfa95a699f (patch) | |
tree | 445cbb7694891141c82034d9af72f38b6708d194 /net-mgmt/nagios4/files/patch-html__index.php | |
parent | misc/nms: document ncurses, honor CFLAGS and LDFLAGS (diff) |
Revert the update to 4.2.
It currently exits with a bus error, which is, not good.
Reported by: many
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-html__index.php')
-rw-r--r-- | net-mgmt/nagios4/files/patch-html__index.php | 11 |
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..17d13bb30a26 --- /dev/null +++ b/net-mgmt/nagios4/files/patch-html__index.php @@ -0,0 +1,11 @@ +--- 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... |