From fea5db7ab127df30ed0b363faa43e570c0a470fa Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 10 Feb 2016 15:40:11 +0100 Subject: Common hooks: process includes before header/footer --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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) { -- cgit v1.2.3