Forráskód Böngészése

Merge branch 'sess_0306' of 121.43.114.153:/home/git/repositories/shopnc into sess_0306

stanley-king 9 éve
szülő
commit
ff036912b8
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 2 2
      admin/control/cache.php
  2. 1 1
      admin/templates/default/cache.clear.php

+ 2 - 2
admin/control/cache.php

@@ -80,7 +80,7 @@ class cacheControl extends SystemControl
             $this->del_keys('bonus*');
 
             //删除手机专题活动相关缓存
-            $this->del_keys('specials*');
+            $this->del_keys('mb_special*');
 
             //删除手机发现页相关缓存
             $this->del_keys('discovery*');
@@ -137,7 +137,7 @@ class cacheControl extends SystemControl
 
             // 删除手机专题活动相关缓存
             if (in_array('specials',$todo)) {
-                $this->del_keys('specials*');
+                $this->del_keys('mb_special*');
             }
 
             // 删除手机发现页相关缓存

+ 1 - 1
admin/templates/default/cache.clear.php

@@ -113,7 +113,7 @@
                       </li>
                       <li class="left w18pre">
                           <label>
-                              <input type="checkbox" name="cache[]" id="specials" value="bonus" >
+                              <input type="checkbox" name="cache[]" id="specials" value="specials" >
                               &nbsp;<?php echo $lang['cache_cls_specials']?></label>
                       </li>
                           <li class="left w18pre">