mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Laravel 5.8 and updated dependencies (#10489)
* Laravel 5.8 and dependencies * Fix cache time * upstream base file changes * Accidentally ran composer with PHP 7.3 * fix test error * one more * one more * one more * fix dotenv loading
This commit is contained in:
@@ -42,7 +42,7 @@ class Eloquent
|
||||
if (!Laravel::isBooted() && is_null(self::$capsule)) {
|
||||
$install_dir = realpath(__DIR__ . '/../../');
|
||||
|
||||
(new Dotenv($install_dir))->load();
|
||||
Dotenv::create($install_dir)->load();
|
||||
|
||||
$db_config = include($install_dir . '/config/database.php');
|
||||
$settings = $db_config['connections'][$db_config['default']];
|
||||
|
@@ -43,7 +43,7 @@ use Cache;
|
||||
|
||||
class ObjectCache
|
||||
{
|
||||
private static $cache_time = 5;
|
||||
private static $cache_time = 300;
|
||||
|
||||
public static function applications()
|
||||
{
|
||||
|
Reference in New Issue
Block a user