You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'countersContent' => \Yii::t('skeeks/seo', 'В это поле вы можете поставить любые коды счетчиков и сторонних систем (yandex.metrics jivosite google.metrics и прочие). Они будут выведены внизу страницы, перед закрывающим тегом body'),
190
+
'countersContent' => \Yii::t('skeeks/seo',
191
+
'В это поле вы можете поставить любые коды счетчиков и сторонних систем (yandex.metrics jivosite google.metrics и прочие). Они будут выведены внизу страницы, перед закрывающим тегом body'),
180
192
'enableKeywordsGenerator' => \Yii::t('skeeks/seo', 'If the page is not specified keywords, they will generate is for her, according to certain rules automatically'),
181
193
'minKeywordLenth' => \Yii::t('skeeks/seo', 'The minimum length of the keyword, which is listed by the key (automatic generation)'),
182
194
'maxKeywordsLength' => \Yii::t('skeeks/seo', 'The maximum length of the string of keywords (automatic generation)'),
@@ -261,7 +273,7 @@ public function bootstrap($application)
261
273
}
262
274
}
263
275
264
-
if (!BackendComponent::getCurrent()) {
276
+
if (!BackendComponent::getCurrent() && !in_array(\Yii::$app->controller->module->id, ['debug', 'gii']) && $this->isAutoIncludecountersContent) {
265
277
if ($this->countersContent) {
266
278
$content = ob_get_contents();
267
279
if (strpos($content, $this->countersContent) === false) {
@@ -289,6 +301,41 @@ public function bootstrap($application)
0 commit comments