3108 - Важно - удаление лишних разделов из sitemao.xml

parent 1952abad
...@@ -207,7 +207,6 @@ class DocList extends \yii\db\ActiveRecord ...@@ -207,7 +207,6 @@ class DocList extends \yii\db\ActiveRecord
$active = ''; $active = '';
if ( if (
$item['url'] == yii::$app->request->url || $item['url'] == yii::$app->request->url ||
in_array(yii::$app->request->url, $item['urls']) ||
($baseLevel && $open) ($baseLevel && $open)
) { ) {
$active = 'active'; $active = 'active';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment