Revision 8ae9a909
Added by Jim Pingle over 9 years ago
src/usr/local/www/status_carp.php | ||
---|---|---|
63 | 63 |
require_once("guiconfig.inc"); |
64 | 64 |
require_once("globals.inc"); |
65 | 65 |
|
66 |
function gentitle_pkg($pgname) { |
|
67 |
global $config; |
|
68 |
return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname; |
|
69 |
} |
|
70 |
|
|
71 | 66 |
unset($interface_arr_cache); |
72 | 67 |
unset($carp_interface_count_cache); |
73 | 68 |
unset($interface_ip_arr_cache); |
Also available in: Unified diff
Encode hostname before printing; remove some related dead code.