aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-12-13 21:23:10 +0100
committermarijus <mario@localhost.localdomain>2013-12-13 21:23:10 +0100
commited5f725741455f9282a0dc38cd51b07e74b50ab1 (patch)
tree5e3ea7ab417ff06ef015af98440efe2c3ce008b2 /boot.php
parentb994faee9d24a6290e342b6389c56fa7f9ecfac1 (diff)
parent1975fa50da5f418e293e0f018cf1ed2bf0f43930 (diff)
downloadvolse-hubzilla-ed5f725741455f9282a0dc38cd51b07e74b50ab1.tar.gz
volse-hubzilla-ed5f725741455f9282a0dc38cd51b07e74b50ab1.tar.bz2
volse-hubzilla-ed5f725741455f9282a0dc38cd51b07e74b50ab1.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 1396de641..4134ce3fa 100755
--- a/boot.php
+++ b/boot.php
@@ -1871,6 +1871,10 @@ function construct_page(&$a) {
// layout completely with a new layout definition, or replace/remove existing content.
if($comanche) {
+ $arr = array('module' => $a->module, 'layout' => $a->layout);
+ call_hooks('construct_page',$arr);
+ $a->layout = $arr['layout'];
+
foreach($a->layout as $k => $v) {
if((strpos($k,'region_') === 0) && strlen($v)) {
if(strpos($v,'$region_') !== false) {