[TYPO3-german] Patch geschrieben - was nun?

Andy Grunwald [wmdb] andy_grunwald at arcor.de
Wed Jul 2 21:12:08 CEST 2008


Hi Michael,

eine Möglichkeit ist es den Bugtracker von TYPO3 
(http://bugs.typo3.org/my_view_page.php) aufzusuchen und da schauen, ob 
es die Extension gibt. Wenn nicht, schau dir mal die Kategorie "Other 
Extensions" an.

Eine andere Möglichkeit wäre das neue Forge 
(http://forge.typo3.org/projects/show/extensions)

Andy

Michael Stein schrieb:
> Hallo zusammen,
> ich habe für die Exension "captcha Library" einen kleinen Patch gemacht
> weil es auf meinem System imagerotate nicht gibt.
> 
> Wie kann ich den Kasper zukommen lassen?
> 
> kasper2008 at typo3.org funktioniert nicht.
> 
> Gruß Michael
> 
> PS.: Für alle die das Problem auch haben:
> 
> --- captcha.php.org    2008-06-25 09:27:58.000000000 +0200
> +++ captcha.php    2008-06-25 09:28:34.000000000 +0200
> @@ -75,7 +75,17 @@
>             $fcol = imagecolorallocate($tmpi, $tcolor[0], $tcolor[1], 
> $tcolor[2]);
>             imagefill($tmpi, 0, 0, $back);
>             imagestring($tmpi, 5, $osx, $osy, $c, $fcol);
> -            $rot = imagerotate($tmpi, $da, $back);
> +
> +            if (function_exists(imagerotate)) {
> +                $rot = imagerotate($tmpi, $da, $back);
> +            } else {
> +                require_once(PATH_t3lib.'class.t3lib_stdgraphic.php');
> +                $obj = new t3lib_stdGraphic();
> +                $obj->tempPath=PATH_site.'typo3temp/';
> +                $obj->applyImageMagickToPHPGif($tmpi,'-rotate '.$da);
> +                $rot=$tmpi;
> +            }
> +
>             $rback = imagecolorclosest($rot, $bcolor[0], $bcolor[1], 
> $bcolor[2]);
>             imagecolortransparent($rot, $rback);
>             imagecopymerge($img, $rot, $xpos+$dx, $ypos+$dy, 0, 0, 20, 
> 20, 100);


More information about the TYPO3-german mailing list