Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix #2

  • Loading branch information...
commit 886b3e30dbcb202c10e463f50dd67e9cafcf746f 1 parent 0379b8c
unknown authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  catalog/includes/functions/cache.php
2  catalog/includes/functions/cache.php
@@ -57,7 +57,7 @@ function read_cache(&$var, $filename, $auto_expire = false){
57 57 // try to open file
58 58 if ($fp = @fopen(gzinflate($filename, 'r'))) {
59 59 // read in serialized data
60   - $szdata = stream_get_contents($fp, filesize($filename));
  60 + $szdata = fread($fp, filesize($filename));
61 61
62 62 fclose($fp);
63 63 // unserialze the data

0 comments on commit 886b3e3

Please sign in to comment.
Something went wrong with that request. Please try again.