mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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'])) {
|
if (!isset ($config['fontpath'])) {
|
||||||
|
$home = str_replace('\\', '/', $config['homedir'] );
|
||||||
config_update_value('fontpath',
|
config_update_value('fontpath',
|
||||||
$config['homedir'] . '/include/fonts/smallfont.ttf');
|
$home . '/include/fonts/smallfont.ttf');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset ($config['style'])) {
|
if (!isset ($config['style'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user