mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
(cherry picked from commit 70bca63bd6936ba1ae1a71f377b0d063b00922f7)
This commit is contained in:
parent
27420a0868
commit
6f0d4ba1f9
@ -1299,8 +1299,8 @@ function config_check () {
|
||||
}
|
||||
|
||||
// Get remote file dir.
|
||||
$remote_config = db_get_value_filter('value',
|
||||
'tconfig', array('token' => 'remote_config'));
|
||||
$remote_config = io_safe_output(db_get_value_filter('value',
|
||||
'tconfig', array('token' => 'remote_config')));
|
||||
|
||||
|
||||
if (enterprise_installed()) {
|
||||
@ -1362,7 +1362,7 @@ function config_check () {
|
||||
'no_close' => true, 'force_style' => 'color: #000000 !important'), '', true);
|
||||
}
|
||||
|
||||
$fontpath = db_get_value_filter('value', 'tconfig', array('token' => 'fontpath'));
|
||||
$fontpath = io_safe_output(db_get_value_filter('value', 'tconfig', array('token' => 'fontpath')));
|
||||
if (($fontpath == "") OR (!file_exists ($fontpath))) {
|
||||
$config["alert_cnt"]++;
|
||||
$_SESSION["alert_msg"] .= ui_print_error_message(
|
||||
|
Loading…
x
Reference in New Issue
Block a user