From 8d07b25439efadc357110a1dd8dd6c7e3520b3f8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 3 Oct 2010 02:01:02 +0000 Subject: [PATCH] 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. --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1