From 7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 2 Feb 2016 20:10:49 +0100 Subject: [PATCH] Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning. --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 31dcbf0f..dc5aa4bf 100644 --- a/index.php +++ b/index.php @@ -50,6 +50,9 @@ // For updates check of Shaarli $GLOBALS['config']['UPDATECHECK_FILENAME'] = $GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt'; +// Set ENABLE_UPDATECHECK to disabled by default. +$GLOBALS['config']['ENABLE_UPDATECHECK'] = false; + // RainTPL cache directory (keep the trailing slash!) $GLOBALS['config']['RAINTPL_TMP'] = 'tmp/'; // Raintpl template directory (keep the trailing slash!)