diff options
author | Arthur <arthur@hoa.ro> | 2016-02-04 20:28:52 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-04 20:28:52 +0100 |
commit | c11330fe32c0fd79b8f041bb98c97cae720d16fe (patch) | |
tree | 60ca4336a14ec071173d90648dc0b70e37b30fac | |
parent | 268a2e52659964fb7d033a1bb4d1490bf8cc49bf (diff) | |
parent | 7c873f1cd0ffe17d7b29125b2d5ee17ce908a52a (diff) | |
download | Shaarli-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.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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!) |