Closed (fixed)
Project:
Varnish
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2010 at 21:02 UTC
Updated:
26 Mar 2011 at 00:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
florisg commentedfunction varnish_admin_reports_page() {
$output = "";
// connect to varnish and do a full status report
$status = _varnish_terminal_run('stats');
foreach($status as $stat) {
$output .= '
';
}
return $output;
}
^^ get rid of the notice.
Comment #2
Ian Ward commentedAttached is a patch which defines output, and keeps the `pre` for formatting sake.
Comment #3
fabsor commentedTested. This is certainly good to go =)
Comment #4
fgmWhile we're at it, how about fixing some coding style issues along the way ?
Comment #5
yched commentedLooks good.
Comment #6
fabsor commentedCommited. Thanks!