]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning. 457/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 2 Feb 2016 19:10:49 +0000 (20:10 +0100)
committerArthurHoaro <arthur@hoa.ro>
Tue, 2 Feb 2016 19:10:49 +0000 (20:10 +0100)
index.php

index 31dcbf0fe7455a9de4a437ea190d556801734117..dc5aa4bf3f16c1b18507cb9e0022012ee8f59725 100644 (file)
--- 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!)