mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
added default fontpath for windows. Ticket #3316.
(cherry picked from commit 7dbc6414048cb6e9e01472365cc1fff19872b738)
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…
x
Reference in New Issue
Block a user