projects
/
s9y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d9812
)
Also look for "convert.exe", satisfying windows users.
author
garvinhicking
<garvinhicking>
Tue, 10 May 2005 16:35:31 +0000
(16:35 +0000)
committer
garvinhicking
<garvinhicking>
Tue, 10 May 2005 16:35:31 +0000
(16:35 +0000)
Thanks to pattyjj from IRC!
include/functions_installer.inc.php
patch
|
blob
|
history
diff --git
a/include/functions_installer.inc.php
b/include/functions_installer.inc.php
index f5cf28551dd5484fda2c2d6f761f239ddaae8fdd..b3cef230aa77e0637997eb37a5a10ea21a61a3d1 100644
(file)
--- a/
include/functions_installer.inc.php
+++ b/
include/functions_installer.inc.php
@@
-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;