added default fontpath for windows. Ticket #3316.
This commit is contained in:
parent
e2bc2002f4
commit
7dbc641404
|
@ -981,8 +981,9 @@ function config_process_config () {
|
|||
|
||||
|
||||
if (!isset ($config['fontpath'])) {
|
||||
$home = str_replace('\\', '/', $config['homedir'] );
|
||||
config_update_value('fontpath',
|
||||
$config['homedir'] . '/include/fonts/smallfont.ttf');
|
||||
$home . '/include/fonts/smallfont.ttf');
|
||||
}
|
||||
|
||||
if (!isset ($config['style'])) {
|
||||
|
|
Loading…
Reference in New Issue