From: Arthur Date: Thu, 4 Feb 2016 19:28:52 +0000 (+0100) Subject: Merge pull request #457 from ArthurHoaro/updatecheck-warning X-Git-Tag: v0.6.4~19 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c11330fe32c0fd79b8f041bb98c97cae720d16fe;hp=268a2e52659964fb7d033a1bb4d1490bf8cc49bf;p=github%2Fshaarli%2FShaarli.git Merge pull request #457 from ArthurHoaro/updatecheck-warning Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning --- diff --git a/index.php b/index.php index 31dcbf0f..dc5aa4bf 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!)