From 8acaa3bf285df6bd7ce8153c13ec5ae3204d354a Mon Sep 17 00:00:00 2001 From: overflowerror Date: Wed, 26 Feb 2014 19:04:56 +0100 Subject: [PATCH] new font locations --- images/captcha.png/index.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/images/captcha.png/index.php b/images/captcha.png/index.php index b11252e..847e410 100644 --- a/images/captcha.png/index.php +++ b/images/captcha.png/index.php @@ -16,12 +16,11 @@ $fonts = array(); // add your fonts here - - //$fonts[] = "/data/fonts/averia.ttf"; - //$fonts[] = "/data/fonts/bbc.ttf"; - //$fonts[] = "/data/fonts/bybsy.ttf"; - //$fonts[] = "/data/fonts/gtw.ttf"; - //$fonts[] = "/data/fonts/newscycle.ttf"; + $fonts[] = "../../fonts/averia.ttf"; + $fonts[] = "../../fonts/bbc.ttf"; + $fonts[] = "../../fonts/bybsy.ttf"; + $fonts[] = "../../fonts/gtw.ttf"; + $fonts[] = "../../fonts/newscycle.ttf"; $numberOfBackgroundLines = 50; $thicknesOfBackgroundLines = 2; @@ -101,4 +100,4 @@ header( "Content-type: image/png" ); imagepng($image); imagedestroy($image); -?> \ No newline at end of file +?>