diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-02-10 15:40:11 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-02-10 15:40:11 +0100 |
commit | fea5db7ab127df30ed0b363faa43e570c0a470fa (patch) | |
tree | 84d6e4fc2a756b38df558c931559a00914a31ea2 | |
parent | 250f132879bb7a1f7de4c8b87c5ceec5b4b72d14 (diff) | |
download | Shaarli-fea5db7ab127df30ed0b363faa43e570c0a470fa.tar.gz Shaarli-fea5db7ab127df30ed0b363faa43e570c0a470fa.tar.zst Shaarli-fea5db7ab127df30ed0b363faa43e570c0a470fa.zip |
Common hooks: process includes before header/footer
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1123,9 +1123,9 @@ function renderPage() | |||
1123 | // Call plugin hooks for header, footer and includes, specifying which page will be rendered. | 1123 | // Call plugin hooks for header, footer and includes, specifying which page will be rendered. |
1124 | // Then assign generated data to RainTPL. | 1124 | // Then assign generated data to RainTPL. |
1125 | $common_hooks = array( | 1125 | $common_hooks = array( |
1126 | 'includes', | ||
1126 | 'header', | 1127 | 'header', |
1127 | 'footer', | 1128 | 'footer', |
1128 | 'includes', | ||
1129 | ); | 1129 | ); |
1130 | $pluginManager = PluginManager::getInstance(); | 1130 | $pluginManager = PluginManager::getInstance(); |
1131 | foreach($common_hooks as $name) { | 1131 | foreach($common_hooks as $name) { |