From: Tim Starling Date: Sun, 8 Oct 2006 23:24:43 +0000 (+0000) Subject: Some message caches are over 1MB X-Git-Tag: 1.31.0-rc.0~55571 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5e60b97c3ff77fe7df0fe171ab330b4ccbda61ba;p=lhc%2Fweb%2Fwiklou.git Some message caches are over 1MB --- diff --git a/includes/MessageCache.php b/includes/MessageCache.php index aa1fa1f48e..9cab222ba5 100644 --- a/includes/MessageCache.php +++ b/includes/MessageCache.php @@ -78,7 +78,7 @@ class MessageCache { $localHash = fread( $file, 32 ); if ( $hash == $localHash ) { // All good, get the rest of it - $serialized = fread( $file, 1000000 ); + $serialized = fread( $file, 10000000 ); $this->mCache = unserialize( $serialized ); } fclose( $file );