Commit 3d27c6d7 authored by andre's avatar andre

копирование страниц faq

parent 8d391c91
...@@ -44,7 +44,7 @@ class FaqController extends BaseController ...@@ -44,7 +44,7 @@ class FaqController extends BaseController
public function actionIndex() public function actionIndex()
{ {
$this->meta_title = Settings::getValue('meta-Title'); $this->meta_title = Settings::getValue('meta-Title');
$this->meta_description = Settings::getValue('meta-Disription'); $this->meta_description = Settings::getValue('meta-Description');
$this->meta_keywords = Settings::getValue('meta-Keywords'); $this->meta_keywords = Settings::getValue('meta-Keywords');
$query = FaqRubric::find()->where(['=', 'section', Faq::SECTION_FAQ])->orderBy('sort'); $query = FaqRubric::find()->where(['=', 'section', Faq::SECTION_FAQ])->orderBy('sort');
...@@ -63,7 +63,7 @@ class FaqController extends BaseController ...@@ -63,7 +63,7 @@ class FaqController extends BaseController
public function actionVideo() public function actionVideo()
{ {
$this->meta_title = Settings::getValue('meta-Title-video'); $this->meta_title = Settings::getValue('meta-Title-video');
$this->meta_description = Settings::getValue('meta-Disription-video'); $this->meta_description = Settings::getValue('meta-Description-video');
$this->meta_keywords = Settings::getValue('meta-Keywords-video'); $this->meta_keywords = Settings::getValue('meta-Keywords-video');
if(!isset(Faq::$section_title[Faq::SECTION_VIDEO])) if(!isset(Faq::$section_title[Faq::SECTION_VIDEO]))
......
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