From: ArthurHoaro Date: Wed, 10 Feb 2016 14:40:11 +0000 (+0100) Subject: Common hooks: process includes before header/footer X-Git-Tag: v0.6.4~16^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=fea5db7ab127df30ed0b363faa43e570c0a470fa;p=github%2Fshaarli%2FShaarli.git Common hooks: process includes before header/footer --- diff --git a/index.php b/index.php index 64ec809e..9785c419 100644 --- a/index.php +++ b/index.php @@ -1123,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) {