Skip to content

Commit

Permalink
fix path for font
Browse files Browse the repository at this point in the history
  • Loading branch information
osben committed Mar 13, 2018
1 parent f6f1925 commit ae19d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captcha/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae19d8f

Please sign in to comment.