]> git.mjollnir.org Git - moodle.git/commitdiff
Default to just using "mimetex" binary. This makes it easier
authormoodler <moodler>
Wed, 18 Feb 2004 16:02:09 +0000 (16:02 +0000)
committermoodler <moodler>
Wed, 18 Feb 2004 16:02:09 +0000 (16:02 +0000)
to drop in unusual binaries and have them work

filter/tex/pix.php

index e85892501e4d91a1e52259415a86bb7728b3d4c1..be1abc2f8124b42f6aae823dd3912b61fd59d4df 100644 (file)
@@ -59,6 +59,9 @@
                 case "Darwin":
                     system("$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname ". escapeshellarg($texexp) );
                 break;
+                default:
+                    system("$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname ". escapeshellarg($texexp) );
+                break;
             }
         }
     }