From: Reini U. <ru...@us...> - 2005-05-06 17:00:39
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2116 Modified Files: Captcha.php Log Message: use absolute path Index: Captcha.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/Captcha.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -2 -b -p -d -r1.1 -r1.2 --- Captcha.php 25 Apr 2005 20:17:13 -0000 1.1 +++ Captcha.php 6 May 2005 17:00:31 -0000 1.2 @@ -80,5 +80,5 @@ function captcha_image ( $word ) { $x = rand(10, $width-100); - imagettftext($jpg, $size, $angle, $x, $y, $tx, FindFile("lib/captcha/Vera.ttf"), $word); + imagettftext($jpg, $size, $angle, $x, $y, $tx, realpath(FindFile("lib/captcha/Vera.ttf")), $word); $x = rand(0, 280); |