aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-02-04 20:28:52 +0100
committerArthur <arthur@hoa.ro>2016-02-04 20:28:52 +0100
commitc11330fe32c0fd79b8f041bb98c97cae720d16fe (patch)
tree60ca4336a14ec071173d90648dc0b70e37b30fac
parent268a2e52659964fb7d033a1bb4d1490bf8cc49bf (diff)
parent7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a (diff)
downloadShaarli-c11330fe32c0fd79b8f041bb98c97cae720d16fe.tar.gz
Shaarli-c11330fe32c0fd79b8f041bb98c97cae720d16fe.tar.zst
Shaarli-c11330fe32c0fd79b8f041bb98c97cae720d16fe.zip
Merge pull request #457 from ArthurHoaro/updatecheck-warning
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
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';
50// For updates check of Shaarli 50// For updates check of Shaarli
51$GLOBALS['config']['UPDATECHECK_FILENAME'] = $GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt'; 51$GLOBALS['config']['UPDATECHECK_FILENAME'] = $GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt';
52 52
53// Set ENABLE_UPDATECHECK to disabled by default.
54$GLOBALS['config']['ENABLE_UPDATECHECK'] = false;
55
53// RainTPL cache directory (keep the trailing slash!) 56// RainTPL cache directory (keep the trailing slash!)
54$GLOBALS['config']['RAINTPL_TMP'] = 'tmp/'; 57$GLOBALS['config']['RAINTPL_TMP'] = 'tmp/';
55// Raintpl template directory (keep the trailing slash!) 58// Raintpl template directory (keep the trailing slash!)