aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-02-02 20:10:49 +0100
committerArthurHoaro <arthur@hoa.ro>2016-02-02 20:10:49 +0100
commit7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a (patch)
tree60ca4336a14ec071173d90648dc0b70e37b30fac /index.php
parent268a2e52659964fb7d033a1bb4d1490bf8cc49bf (diff)
downloadShaarli-7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a.tar.gz
Shaarli-7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a.tar.zst
Shaarli-7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a.zip
Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning.
Diffstat (limited to 'index.php')
-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!)