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 f5cf28551dd5484fda2c2d6f761f239ddaae8fdd..b3cef230aa77e0637997eb37a5a10ea21a61a3d1 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;