From: Arthur Date: Thu, 4 Feb 2016 19:29:02 +0000 (+0100) Subject: Merge pull request #458 from ArthurHoaro/plugins-init-parameters X-Git-Tag: v0.6.4~18 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5369f04521c8ed5bf332b75311ca73b604df1097;hp=-c;p=github%2Fshaarli%2FShaarli.git Merge pull request #458 from ArthurHoaro/plugins-init-parameters Initialize plugin parameters array to avoid unnecessary warning. --- 5369f04521c8ed5bf332b75311ca73b604df1097 diff --combined index.php index dc5aa4bf,6a5eb2ae..64ec809e --- a/index.php +++ b/index.php @@@ -50,9 -50,6 +50,9 @@@ $GLOBALS['config']['LOG_FILE'] = $GLOBA // 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!) @@@ -114,7 -111,8 +114,8 @@@ $GLOBALS['config']['UPDATECHECK_INTERVA //); $GLOBALS['config']['ENABLED_PLUGINS'] = array('qrcode'); - //$GLOBALS['plugins']['WALLABAG_URL'] = 'https://demo.wallabag.org/'; + // Initialize plugin parameters array. + $GLOBALS['plugins'] = array(); // PubSubHubbub support. Put an empty string to disable, or put your hub url here to enable. $GLOBALS['config']['PUBSUBHUB_URL'] = '';