Set the stream and buffer reset methods for the default backend

Change-Id: Ia28c92a66a217cea24ff70f5be1a51a53fa5d6f8
This commit is contained in:
Aaron Schulz 2016-09-28 15:10:11 -07:00
parent 57dbbb678f
commit 3a6617faf0
1 changed files with 3 additions and 1 deletions

View File

@ -327,7 +327,9 @@ class MathTexvc extends MathRenderer {
'wikiId' => wfWikiId(),
'lockManager' => new NullLockManager( [] ),
'containerPaths' => [ 'math-render' => $wgMathDirectory ],
'fileMode' => 0777
'fileMode' => 0777,
'obResetFunc' => 'wfResetOutputBuffers',
'streamMimeFunc' => [ 'StreamFile', 'contentTypeFromPath' ]
] );
}
return $backend;