From 6cdfc694726b7ec5e065facf040180462824c0b1 Mon Sep 17 00:00:00 2001 From: dozer111 Date: Mon, 21 May 2018 14:37:23 +0200 Subject: [PATCH] Поредактировал формы, сообщения при корректном/некорректном заполнении , вывод дат formatter-а --- frontend/controllers/SiteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index 35a0ffa..15dda2f 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -51,7 +51,7 @@ */ public function actionIndex() { - \Yii::$app->cache->flush(); + $slides = Slide::find()->with('language')->where(['status' => true])->orderBy('sort')->all(); $articles = Article::find() ->with('language') -- libgit2 0.21.4