We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd65d90 commit 781675eCopy full SHA for 781675e
1 file changed
src/CmsSeoComponent.php
@@ -100,7 +100,7 @@ class CmsSeoComponent extends Component implements BootstrapInterface
100
/**
101
* @var bool включить автогенерацию ключевых слов
102
*/
103
- public $enableKeywordsGenerator = false;
+ public $enableKeywordsGenerator = 0;
104
105
106
* @var bool добавлять приоритет в sitemap?
@@ -682,6 +682,7 @@ public function bootstrap($application)
682
683
$view = $e->sender;
684
685
+ /*print_r($this->toArray());;die;*/
686
if ($this->enableKeywordsGenerator && !BackendComponent::getCurrent()) {
687
if (!\Yii::$app->request->isAjax && !\Yii::$app->request->isPjax) {
688
$this->_autoGenerateKeywords($view);
0 commit comments