mod channel is now Comanchified

This commit is contained in:
friendica
2013-12-10 20:36:11 -08:00
parent 6e4f9b7ecc
commit e5ea4a009b
5 changed files with 38 additions and 26 deletions

View File

@@ -1872,7 +1872,6 @@ function construct_page(&$a) {
if($comanche) {
foreach($a->layout as $k => $v) {
logger('layout: ' . $k . ' ' . strlen($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);