yingzi 1 anno fa
parent
commit
a5e1284ae8

+ 2 - 1
Mall/Framework/Cache/AbstractStorage.Class.php

@@ -20,9 +20,10 @@ abstract class AbstractStorage implements StorageInterface
         $prefix = FALSE;
 
         if ($this->options['prefix']) {
-            $prefix = str_replace(':', '', $this->options['prefix']) . ':';
+            $prefix = str_replace(':', '', $this->options['prefix']) . '::';
         }
 
         $this->prefix = $prefix ?: $this->prefix;
+        
     }
 }

+ 1 - 1
Mall/Framework/Core/File.Class.php

@@ -117,6 +117,7 @@ class File extends SplFileObject
      */
     protected function checkPath($path)
     {
+        
         if (is_dir($path)) {
             return true;
         }
@@ -308,7 +309,6 @@ class File extends SplFileObject
         // 文件保存命名规则
         $saveName = $this->buildSaveName($savename);
         $filename = $path . $saveName;
-
         // 检测目录
         if (false === $this->checkPath(dirname($filename))) {
             return false;