Files

11 lines
215 B
PHP
Raw Permalink Normal View History

2010-08-02 16:38:03 +00:00
<?php
2010-08-01 14:17:06 +00:00
2012-05-25 12:24:34 +00:00
// FIXME - wtfbbq
2018-09-11 07:51:35 -05:00
use LibreNMS\Authentication\LegacyAuth;
2018-09-11 07:51:35 -05:00
if (LegacyAuth::user()->hasGlobalRead() || $auth) {
2015-07-13 20:10:26 +02:00
$id = mres($vars['id']);
$title = generate_device_link($device);
$auth = true;
2010-08-01 14:17:06 +00:00
}