From: Brion Vibber Date: Sun, 3 Oct 2010 02:01:02 +0000 (+0000) Subject: Initialize $wgTexvc with $IP rather than relative to current working directory. Fixes... X-Git-Tag: 1.31.0-rc.0~34656 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=8d07b25439efadc357110a1dd8dd6c7e3520b3f8;p=lhc%2Fweb%2Fwiklou.git 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. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7b143e4271..b03674545b 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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