From fea5db7ab127df30ed0b363faa43e570c0a470fa Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 10 Feb 2016 15:40:11 +0100 Subject: [PATCH] Common hooks: process includes before header/footer --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 64ec809..9785c41 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) {