Some message caches are over 1MB
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 8 Oct 2006 23:24:43 +0000 (23:24 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 8 Oct 2006 23:24:43 +0000 (23:24 +0000)
includes/MessageCache.php

index aa1fa1f..9cab222 100644 (file)
@@ -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 );