]> 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.

index.php

index dc5aa4bf3f16c1b18507cb9e0022012ee8f59725..64ec809e1817676adb07763f65551e65dc146439 100644 (file)
--- a/index.php
+++ b/index.php
@@ -114,7 +114,8 @@ $GLOBALS['config']['UPDATECHECK_INTERVAL'] = 86400;
 //);
 $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'] = '';