Set the stream and buffer reset methods for the default backend
Change-Id: Ia28c92a66a217cea24ff70f5be1a51a53fa5d6f8
This commit is contained in:
parent
57dbbb678f
commit
3a6617faf0
@ -327,7 +327,9 @@ class MathTexvc extends MathRenderer {
|
|||||||
'wikiId' => wfWikiId(),
|
'wikiId' => wfWikiId(),
|
||||||
'lockManager' => new NullLockManager( [] ),
|
'lockManager' => new NullLockManager( [] ),
|
||||||
'containerPaths' => [ 'math-render' => $wgMathDirectory ],
|
'containerPaths' => [ 'math-render' => $wgMathDirectory ],
|
||||||
'fileMode' => 0777
|
'fileMode' => 0777,
|
||||||
|
'obResetFunc' => 'wfResetOutputBuffers',
|
||||||
|
'streamMimeFunc' => [ 'StreamFile', 'contentTypeFromPath' ]
|
||||||
] );
|
] );
|
||||||
}
|
}
|
||||||
return $backend;
|
return $backend;
|
||||||
|
Loading…
Reference in New Issue
Block a user