Common hooks: process includes before header/footer

This commit is contained in:
ArthurHoaro 2016-02-10 15:40:11 +01:00
parent 250f132879
commit fea5db7ab1
1 changed files with 1 additions and 1 deletions

View File

@ -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) {