diff --git a/pandora_console/extras/mr/49.sql b/pandora_console/extras/mr/49.sql new file mode 100644 index 0000000000..68de9070ed --- /dev/null +++ b/pandora_console/extras/mr/49.sql @@ -0,0 +1,6 @@ +START TRANSACTION; + +UPDATE `tconfig` set value = 'Lato-Regular.ttf' WHERE token LIKE 'custom_report_front_font'; +UPDATE `tconfig` set value = 'Lato-Regular.ttf' WHERE token LIKE 'fontpath'; + +COMMIT; diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 1f213afb33..4a3434b152 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -2243,7 +2243,7 @@ function config_process_config() if (!isset($config['fontpath'])) { config_update_value( 'fontpath', - 'lato.ttf' + 'Lato-Regular.ttf' ); } @@ -3126,7 +3126,7 @@ function config_process_config() } if (!isset($config['custom_report_front_font'])) { - config_update_value('custom_report_front_font', 'lato.ttf'); + config_update_value('custom_report_front_font', 'Lato-Regular.ttf'); } if (!isset($config['custom_report_front_logo'])) { diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index 7b33635d76..738eb1f5f6 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -105,7 +105,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES ('show_vc', 1), ('inventory_changes_blacklist', '1,2,20,21'), ('custom_report_front', 0), -('custom_report_front_font', 'lato.ttf'), +('custom_report_front_font', 'Lato-Regular.ttf'), ('custom_report_front_logo', 'images/pandora_logo_white.jpg'), ('custom_report_front_header', ''), ('custom_report_front_footer', ''),