mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update legacy_api_v0.php (#10209)
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
use LibreNMS\Config;
|
use LibreNMS\Config;
|
||||||
|
|
||||||
$init_modules = array('web', 'alerts');
|
$init_modules = array('web', 'alerts');
|
||||||
require realpath(__DIR__ . '/..') . '/includes/init.php';
|
require realpath(__DIR__ . '/..') . '/init.php';
|
||||||
|
|
||||||
if (!Auth::check()) {
|
if (!Auth::check()) {
|
||||||
die('Unauthorized');
|
die('Unauthorized');
|
||||||
|
|||||||
Reference in New Issue
Block a user