Merge pull request #457 from ArthurHoaro/updatecheck-warning

Add a default value to ENABLE_UPDATECHECK to avoid unnecessary warning
This commit is contained in:
Arthur 2016-02-04 20:28:52 +01:00
commit c11330fe32

View file

@ -50,6 +50,9 @@
// For updates check of Shaarli // For updates check of Shaarli
$GLOBALS['config']['UPDATECHECK_FILENAME'] = $GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt'; $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!) // RainTPL cache directory (keep the trailing slash!)
$GLOBALS['config']['RAINTPL_TMP'] = 'tmp/'; $GLOBALS['config']['RAINTPL_TMP'] = 'tmp/';
// Raintpl template directory (keep the trailing slash!) // Raintpl template directory (keep the trailing slash!)