]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #458 from ArthurHoaro/plugins-init-parameters
authorArthur <arthur@hoa.ro>
Thu, 4 Feb 2016 19:29:02 +0000 (20:29 +0100)
committerArthur <arthur@hoa.ro>
Thu, 4 Feb 2016 19:29:02 +0000 (20:29 +0100)
Initialize plugin parameters array to avoid unnecessary warning.

1  2 
index.php

diff --combined index.php
index dc5aa4bf3f16c1b18507cb9e0022012ee8f59725,6a5eb2aeb666bc4df74db78fbda03007860b72ef..64ec809e1817676adb07763f65551e65dc146439
+++ 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'] = '';