wesmiler преди 5 години
родител
ревизия
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;