aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-03 01:57:11 -0700
committerfriendica <info@friendica.com>2013-09-03 01:57:11 -0700
commit0be8e4061c42372a60e0274e7947edcb81625eaa (patch)
tree0c00759b9a9d73bdc31950377bdf66860b5a5919 /boot.php
parent9d262a186f4d7532d74f2eced4959372a9b7f392 (diff)
downloadvolse-hubzilla-0be8e4061c42372a60e0274e7947edcb81625eaa.tar.gz
volse-hubzilla-0be8e4061c42372a60e0274e7947edcb81625eaa.tar.bz2
volse-hubzilla-0be8e4061c42372a60e0274e7947edcb81625eaa.zip
testing Comanche
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 3c340da90..8ab617a97 100755
--- a/boot.php
+++ b/boot.php
@@ -2452,10 +2452,9 @@ function construct_page(&$a) {
foreach($a->layout as $k => $v) {
if((strpos($k,'region_') === 0) && strlen($v)) {
if(strpos($v,'$region_') !== false) {
- $v = preg_replace_callback('/\$region_([a-zA-Z0-9]*?)/ism','comanche_replace_region',$v);
-
+ $v = preg_replace_callback('/\$region_([a-zA-Z0-9]+)/ism','comanche_replace_region',$v);
}
- $a->data[substr($k,0,7)] = $v;
+ $a->page[substr($k,7)] = $v;
}
}
}