added default fontpath for windows. Ticket #3316.
(cherry picked from commit 7dbc641404
)
This commit is contained in:
parent
8dc302d313
commit
e956b90a1e
|
@ -977,8 +977,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