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