From 23323b37b6c25a381214fdf8b124c9c5b9237b3f Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 16 Feb 2004 06:42:10 +0000 Subject: [PATCH] Accept Windows as well as WINNT --- filter/tex/pix.php | 1 + 1 file changed, 1 insertion(+) diff --git a/filter/tex/pix.php b/filter/tex/pix.php index 3ddb1a6ade..ccaf03f565 100644 --- a/filter/tex/pix.php +++ b/filter/tex/pix.php @@ -51,6 +51,7 @@ system("QUERY_STRING=;export QUERY_STRING;$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -d ". escapeshellarg($texexp) . " >$pathname"); break; case "WINNT": + case "Windows": $texexp = str_replace('"','\"',$texexp); system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname \"$texexp\""); break; -- 2.39.5