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 31dcbf0..dc5aa4b 100644 --- a/index.php +++ b/index.php @@ -50,6 +50,9 @@ $GLOBALS['config']['LOG_FILE'] = $GLOBALS['config']['DATADIR'].'/log.txt'; // 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!)