mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
changes needed to run under web server subdirectory
This commit is contained in:
@@ -85,7 +85,7 @@ foreach ($heads as $head => $extra) {
|
||||
$icon .= "'";
|
||||
}
|
||||
|
||||
echo '<th><a href="/device/device='.$device['device_id'].'/tab=processes/order='.$lhead.'/by='.$bhead.'"><span'.$icon.'> ';
|
||||
echo '<th><a href="' . generate_url(array('page'=>'device','device'=>$device['device_id'], 'tab'=>'processes', 'order'=>$lhead, 'by'=>$bhead)) . '"><span'.$icon.'> ';
|
||||
if (!empty($extra)) {
|
||||
echo "<abbr title='$extra'>$head</abbr>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user