mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix merl's shit
git-svn-id: http://www.observium.org/svn/observer/trunk@2365 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -39,6 +39,8 @@ $id = mres($_GET['id']);
|
||||
if (!$config['allow_unauth_graphs'])
|
||||
{
|
||||
if (!$_SESSION['authenticated']) { graph_error("Session not authenticated"); exit; }
|
||||
} else {
|
||||
$auth = TRUE; ## hardcode auth for all
|
||||
}
|
||||
|
||||
preg_match('/^(?P<type>[A-Za-z0-9]+)_(?P<subtype>.+)/', mres($_GET['type']), $graphtype);
|
||||
|
Reference in New Issue
Block a user