]> git.mjollnir.org Git - s9y.git/commitdiff
Also look for "convert.exe", satisfying windows users.
authorgarvinhicking <garvinhicking>
Tue, 10 May 2005 16:35:31 +0000 (16:35 +0000)
committergarvinhicking <garvinhicking>
Tue, 10 May 2005 16:35:31 +0000 (16:35 +0000)
Thanks to pattyjj from IRC!

include/functions_installer.inc.php

index d9def80a5509ab494380e7620fee70c6134ef8a7..f9e597357476996dee82bfe5b1340fbc3f8a3348 100644 (file)
@@ -168,6 +168,10 @@ function serendipity_query_default($optname, $default, $usertemplate = false, $t
                 if (!empty($dir) && (function_exists('is_executable') && @is_executable($dir . '/convert')) || @is_file($dir . '/convert')) {
                     return $dir . '/convert';
                 }
+
+                if (!empty($dir) && (function_exists('is_executable') && @is_executable($dir . '/convert.exe')) || @is_file($dir . '/convert.exe')) {
+                    return $dir . '/convert.exe';
+                }
             }
             return $default;