From: moodler Date: Mon, 16 Feb 2004 06:44:50 +0000 (+0000) Subject: Apparently WIN32 gets returned sometimes too X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=60efe6cbb3ee3433163a422d0fbf8ea656743dfb;p=moodle.git Apparently WIN32 gets returned sometimes too --- diff --git a/filter/tex/pix.php b/filter/tex/pix.php index ccaf03f565..4da96a9a14 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 "WIN32": case "Windows": $texexp = str_replace('"','\"',$texexp); system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname \"$texexp\"");