diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comanche.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comanche.php b/include/comanche.php index 0c81b0ed3..3cf5e72a5 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -57,6 +57,10 @@ function comanche_parser(&$a,$s) { if($cnt) $a->page['template'] = trim($matches[1]); + $cnt = preg_match("/\[template\](.*?)\[\/template\]/ism", $s, $matches); + if($cnt) + $a->page['template'] = trim($matches[1]); + $cnt = preg_match("/\[theme=(.*?)\](.*?)\[\/theme\]/ism", $s, $matches); if($cnt) { |