aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-02-10 15:40:11 +0100
committerArthurHoaro <arthur@hoa.ro>2016-02-10 15:40:11 +0100
commitfea5db7ab127df30ed0b363faa43e570c0a470fa (patch)
tree84d6e4fc2a756b38df558c931559a00914a31ea2 /index.php
parent250f132879bb7a1f7de4c8b87c5ceec5b4b72d14 (diff)
downloadShaarli-fea5db7ab127df30ed0b363faa43e570c0a470fa.tar.gz
Shaarli-fea5db7ab127df30ed0b363faa43e570c0a470fa.tar.zst
Shaarli-fea5db7ab127df30ed0b363faa43e570c0a470fa.zip
Common hooks: process includes before header/footer
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 64ec809e..9785c419 100644
--- a/index.php
+++ b/index.php
@@ -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) {