Code: Select all
function setMetaRobots()
{
global $su, $cf;
$pages = array(
'Регистрация',
'Ошибка_авторизации'
);
if (in_array($su, $pages)) {
$cf['meta']['robots'] = "noindex";
}
}
Code: Select all
function setMetaRobots()
{
global $su, $cf;
$pages = array(
'Регистрация',
'Ошибка_авторизации'
);
if (in_array($su, $pages)) {
$cf['meta']['robots'] = "noindex";
}
}
Sorry, the text was edited byThat is not correct. CMSimple_XH is developed by a team--I'm only one of the team members.