Initialize $wgTexvc with $IP rather than relative to current working directory. Fixes...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Oct 2010 02:01:02 +0000 (02:01 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Oct 2010 02:01:02 +0000 (02:01 +0000)
includes/DefaultSettings.php

index 7b143e4..b036745 100644 (file)
@@ -3533,7 +3533,7 @@ $wgSessionName = false;
  */
 $wgUseTeX = false;
 /** Location of the texvc binary */
-$wgTexvc = './math/texvc';
+$wgTexvc = $IP . '/math/texvc';
 /**
   * Texvc background color
   * use LaTeX color format as used in \special function