Browse Source

反序列化强转string

吴昊天 2 năm trước cách đây
mục cha
commit
579e520aa3

+ 1 - 1
crmeb/vendor/topthink/framework/src/think/cache/driver/File.php

@@ -108,7 +108,7 @@ class File extends Driver
                 $content = gzuncompress($content);
                 $content = gzuncompress($content);
             }
             }
 
 
-            return ['content' => $content, 'expire' => $expire];
+            return ['content' => (string)$content, 'expire' => $expire];
         }
         }
     }
     }