Index: branches/unlabeled/unlabeled-1.62.2/core/kernel/processors/main_processor.php =================================================================== diff -u -r6139 -r6205 --- branches/unlabeled/unlabeled-1.62.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 6139) +++ branches/unlabeled/unlabeled-1.62.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 6205) @@ -522,7 +522,7 @@ if (!$t) { trigger_error('Template name not specified in <inp2:m_include .../> tag', E_USER_ERROR); } - + $res = $BlockParser->ParseTemplate( $t, 1, $params, isset($params['is_silent']) ? 1 : 0 ); if ( !$BlockParser->DataExists && (isset($params['data_exists']) || isset($params['block_no_data'])) ) { @@ -900,6 +900,16 @@ header('Content-type: text/xml; charset='.$lang->GetDBField('Charset')); } + function Header($params) + { + header($params['data']); + } + + function NoDebug($params) + { + define('DBG_SKIP_REPORTING', 1); + } + function RootCategoryName($params) { $root_phrase = $this->Application->ConfigValue('Root_Name');