diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2013-12-27 14:23:06 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2013-12-27 14:23:06 +0000 |
commit | 8ba3edb0eef994240051ba25a7dedb90291ea481 (patch) | |
tree | 46ad2dfa570eaeecdaef9f7ae1d9eeafd10a0484 /net-mgmt/nagios/files/patch-html-index.php | |
parent | - Fix build with clang (diff) |
- Actually make nagios work with staging
- Make the index.php patch respect the possible corewindow parameter
Notes
Notes:
svn path=/head/; revision=337732
Diffstat (limited to 'net-mgmt/nagios/files/patch-html-index.php')
-rw-r--r-- | net-mgmt/nagios/files/patch-html-index.php | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/net-mgmt/nagios/files/patch-html-index.php b/net-mgmt/nagios/files/patch-html-index.php index 5ebff50d5498..9aabcad3923b 100644 --- a/net-mgmt/nagios/files/patch-html-index.php +++ b/net-mgmt/nagios/files/patch-html-index.php @@ -6,14 +6,8 @@ <?php +include_once(dirname(__FILE__).'/includes/utils.inc.php'); // allow specifying main window URL for permalinks, etc. - $corewindow="main.php"; +-$corewindow="main.php"; ++$corewindow=$cfg["cgi_base_url"]."/tac.cgi"; if(isset($_GET['corewindow'])){ -@@ -43,7 +44,7 @@ - - <frameset cols="180,*" style="border: 0px; framespacing: 0px"> - <frame src="side.php" name="side" frameborder="0" style=""> --<frame src="<?php echo $corewindow;?>" name="main" frameborder="0" style=""> -+<frame src="<?php echo $cfg["cgi_base_url"];?>/tac.cgi" name="main" frameborder="0"> - - <noframes> - <!-- This page requires a web browser which supports frames. --> + + // default window url may have been overridden with a permalink... |