mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 16:18:24 +01:00
Improved mimeTeX binaries & more uniform cross-platform code in filter
This commit is contained in:
parent
1a1de46ae2
commit
e8e6a5602e
Binary file not shown.
Binary file not shown.
@ -48,7 +48,7 @@
|
||||
$texexp = '\Large ' . $texexp;
|
||||
switch (PHP_OS) {
|
||||
case "Linux":
|
||||
system("QUERY_STRING=;export QUERY_STRING;$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -d ". escapeshellarg($texexp) . " >$pathname");
|
||||
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname ". escapeshellarg($texexp) );
|
||||
break;
|
||||
case "WINNT":
|
||||
case "WIN32":
|
||||
@ -57,7 +57,7 @@
|
||||
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname \"$texexp\"");
|
||||
break;
|
||||
case "Darwin":
|
||||
system("QUERY_STRING=;export QUERY_STRING;$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -d ". escapeshellarg($texexp) . " >$pathname");
|
||||
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname ". escapeshellarg($texexp) );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user