aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-02-11 20:07:16 +0100
committerArthur <arthur@hoa.ro>2016-02-11 20:07:16 +0100
commit2865118ca44661c7535aaf7b83e3b9222bc1f9a6 (patch)
tree84d6e4fc2a756b38df558c931559a00914a31ea2 /index.php
parent250f132879bb7a1f7de4c8b87c5ceec5b4b72d14 (diff)
parentfea5db7ab127df30ed0b363faa43e570c0a470fa (diff)
downloadShaarli-2865118ca44661c7535aaf7b83e3b9222bc1f9a6.tar.gz
Shaarli-2865118ca44661c7535aaf7b83e3b9222bc1f9a6.tar.zst
Shaarli-2865118ca44661c7535aaf7b83e3b9222bc1f9a6.zip
Merge pull request #473 from ArthurHoaro/commonhook-order
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) {