mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Linting: Fix misc problems (#12675)
This commit is contained in:
@@ -41,7 +41,7 @@ class Eloquent
|
||||
if (! Laravel::isBooted() && is_null(self::$capsule)) {
|
||||
$install_dir = realpath(__DIR__ . '/../../');
|
||||
|
||||
Dotenv::create($install_dir)->load();
|
||||
Dotenv::createMutable($install_dir)->load();
|
||||
|
||||
$db_config = include $install_dir . '/config/database.php';
|
||||
$settings = $db_config['connections'][$db_config['default']];
|
||||
|
Reference in New Issue
Block a user