mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #757 from laf/auth-issue
Updated include to include_once
This commit is contained in:
@ -57,7 +57,7 @@ if (!isset($config['auth_mechanism']))
|
|||||||
|
|
||||||
if (file_exists('includes/authentication/' . $config['auth_mechanism'] . '.inc.php'))
|
if (file_exists('includes/authentication/' . $config['auth_mechanism'] . '.inc.php'))
|
||||||
{
|
{
|
||||||
include('includes/authentication/' . $config['auth_mechanism'] . '.inc.php');
|
include_once('includes/authentication/' . $config['auth_mechanism'] . '.inc.php');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user