Commit 1f21bdb6 authored by Michael Stucki's avatar Michael Stucki
Browse files

* Small fix in typo3/sysext/install/mod/class.tx_install.php: GraphicsMagick...

* Small fix in typo3/sysext/install/mod/class.tx_install.php: GraphicsMagick executed without any parameters caused a server error (used in the Install Tool for guessing the product version)


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_3-8@728 709f56b5-9817-0410-a4d7-c38de5d9e867
parent f16a187d
2005-05-19 Michael Stucki <michael@typo3.org>
* Small fix in typo3/sysext/install/mod/class.tx_install.php: GraphicsMagick executed without any parameters caused a server error (used in the Install Tool for guessing the product version)
2005-05-17 Michael Stucki <michael@typo3.org>
* Minor fix in t3lib/config_default.php: pageNotFoundOnCHashError used "false" instead of "0" as the default value
......
......@@ -1880,7 +1880,8 @@ From sub-directory:
if($file=='gm') {
$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_version_5'] = 'gm';
$file = 'identify'; // Work-around, preventing execution of "gm gm"
$file = 'identify'; // Work-around, preventing execution of "gm gm"
$parameters = '-version'; // Work-around - GM doesn't like to be executed without any arguments
} else {
$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_version_5'] = '1';
......@@ -1889,7 +1890,7 @@ From sub-directory:
}
}
$cmd = t3lib_div::imageMagickCommand($file, '', $path);
$cmd = t3lib_div::imageMagickCommand($file, $parameters, $path);
exec($cmd, $retVal);
$string = $retVal[0];
list(,$ver) = explode('Magick', $string);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment