Accept Windows as well as WINNT

This commit is contained in:
moodler 2004-02-16 06:42:10 +00:00
parent 24d18e2f8e
commit 23323b37b6

View File

@ -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;