X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=9785c419e477ebc6404259fdd6961216b90cc453;hb=2865118ca44661c7535aaf7b83e3b9222bc1f9a6;hp=dc5aa4bf3f16c1b18507cb9e0022012ee8f59725;hpb=c11330fe32c0fd79b8f041bb98c97cae720d16fe;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index dc5aa4bf..9785c419 100644 --- 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'] = ''; @@ -1122,9 +1123,9 @@ function renderPage() // Call plugin hooks for header, footer and includes, specifying which page will be rendered. // Then assign generated data to RainTPL. $common_hooks = array( + 'includes', 'header', 'footer', - 'includes', ); $pluginManager = PluginManager::getInstance(); foreach($common_hooks as $name) {