r74184 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74183‎ | r74184 | r74185 >
Date:02:01, 3 October 2010
Author:brion
Status:ok
Tags:
Comment:
Initialize $wgTexvc with $IP rather than relative to current working directory. Fixes math parser tests when running with a cwd other than $IP when $wgTexvc isn't explicitly set.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -3533,7 +3533,7 @@
35343534 */
35353535 $wgUseTeX = false;
35363536 /** Location of the texvc binary */
3537 -$wgTexvc = './math/texvc';
 3537+$wgTexvc = $IP . '/math/texvc';
35383538 /**
35393539 * Texvc background color
35403540 * use LaTeX color format as used in \special function

Status & tagging log