diff --git a/captcha/image.php b/captcha/image.php index 647d807..1c7f8ba 100755 --- a/captcha/image.php +++ b/captcha/image.php @@ -14,7 +14,7 @@ $_SESSION["captcha_code"] = $code; $bg_image = "blank.jpg"; - $font = "./maturasc.ttf"; + $font = dirname(__FILE__)."/maturasc.ttf"; $size = 14+rand(0, 10); $rotation = rand(-5, 10);