mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #2007 from QuxLabs/qux-issue-8
Added working memcached support
This commit is contained in:
+3
-1
@@ -32,7 +32,7 @@ function catchFatal() {
|
||||
}
|
||||
}
|
||||
|
||||
if (strpos($_SERVER['PATH_INFO'], "debug")) {
|
||||
if (strpos($_SERVER['PATH_INFO'], "debug") || true) {
|
||||
$debug = "1";
|
||||
ini_set('display_errors', 0);
|
||||
ini_set('display_startup_errors', 1);
|
||||
@@ -66,6 +66,8 @@ require 'includes/functions.inc.php';
|
||||
require 'includes/vars.inc.php';
|
||||
require 'includes/plugins.inc.php';
|
||||
|
||||
$config['memcached']['ttl'] = $config['time']['now']+300;
|
||||
|
||||
Plugins::start();
|
||||
|
||||
$runtime_start = utime();
|
||||
|
||||
Reference in New Issue
Block a user