wesmiler 5 лет назад
Родитель
Сommit
8fb8220443
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/index/controller/IndexController.php

+ 1 - 1
app/index/controller/IndexController.php

@@ -16,7 +16,7 @@ class IndexController extends HomeBaseController
 {
     public function index()
     {
-        $cacheKey = 'cache:index_pages:index';
+        $cacheKey = 'cache:index_pages:index_'.intval(cmf_is_mobile());
         $pageHtml = RedisService::get($cacheKey);
         if($pageHtml){
             return $pageHtml;