Да, Вы правы. К своему удивлению нашел там
Спасибо!
| Код |
|---|
if(!CSite::inDir(SITE_DIR."index.php")){
if(strlen($APPLICATION->GetPageProperty('title')) > 1){
$title = $APPLICATION->GetPageProperty('title');
}
else{
$title = $APPLICATION->GetTitle();
}
$APPLICATION->SetPageProperty("title", $title.' - '.$arSite['SITE_NAME']);
}
else{
if(strlen($APPLICATION->GetPageProperty('title')) > 1){
$title = $APPLICATION->GetPageProperty('title');
}
else{
$title = $APPLICATION->GetTitle();
}
if(!empty($title)){
$APPLICATION->SetPageProperty("title", $title);
}
else{
$APPLICATION->SetPageProperty("title", $arSite['SITE_NAME']);
}
}
|
Спасибо!