Code

patches: Added 01-font-path.diff.
[pkg-libkohana2-php.git] / debian / patches / 01-font-path.diff
1 Description: Point 'fontpath' to the DejaVu fonts in '/usr/share/fonts/'.
2 Author: Sebastian Harl <tokkee@debian.org>
3 Forwarded: not-needed
5 --- libkohana2-php-2.3.4.orig/system/config/captcha.php
6 +++ libkohana2-php-2.3.4/system/config/captcha.php
7 @@ -23,7 +23,7 @@ $config['default'] = array
8         'height'     => 50,
9         'complexity' => 4,
10         'background' => '',
11 -       'fontpath'   => SYSPATH.'fonts/',
12 +       'fontpath'   => '/usr/share/fonts/truetype/ttf-dejavu/',
13         'fonts'      => array('DejaVuSerif.ttf'),
14         'promote'    => FALSE,
15 -);
16 \ No newline at end of file
17 +);