]> git.mjollnir.org Git - moodle.git/commitdiff
Added default platform
authormoodler <moodler>
Fri, 20 Feb 2004 03:12:01 +0000 (03:12 +0000)
committermoodler <moodler>
Fri, 20 Feb 2004 03:12:01 +0000 (03:12 +0000)
filter/algebra/pix.php

index 30c8e5969b749769722a4bd0286362ae5a3f7dd9..564f9bee1e28fa042339f10e12d82ecbc3f9b6fc 100644 (file)
                 case "Darwin":
                     $cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname ". escapeshellarg($texexp);
                 break;
+                default:      /// To allow drop-in binaries for other platforms
+                    $cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname ". escapeshellarg($texexp);
+                break;
             }
-           system($cmd, $status);
+            system($cmd, $status);
         }
     }