From 38d88ced0b97807375ee73fe0b5c18b0a72eb9fb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 4 Nov 2020 16:07:59 +0100 Subject: [PATCH] Debug the security page --- htdocs/admin/security_file.php | 2 +- htdocs/admin/system/about.php | 5 ++-- htdocs/admin/system/perf.php | 6 ++-- htdocs/admin/system/security.php | 39 +++++++++++++++++-------- htdocs/core/menus/standard/eldy.lib.php | 6 ++-- htdocs/langs/en_US/admin.lang | 12 +++++++- 6 files changed, 49 insertions(+), 21 deletions(-) diff --git a/htdocs/admin/security_file.php b/htdocs/admin/security_file.php index fc2c4e141d5..2669e741c6e 100644 --- a/htdocs/admin/security_file.php +++ b/htdocs/admin/security_file.php @@ -153,7 +153,7 @@ if (ini_get('safe_mode') && !empty($conf->global->MAIN_ANTIVIRUS_COMMAND)) dol_syslog("safe_mode is on, basedir is ".$basedir.", safe_mode_exec_dir is ".ini_get('safe_mode_exec_dir'), LOG_WARNING); } } -print ''; +print ''; if (defined('MAIN_ANTIVIRUS_COMMAND')) { print '
'.$langs->trans("ValueIsForcedBySystem").''; } diff --git a/htdocs/admin/system/about.php b/htdocs/admin/system/about.php index 460e568501b..0668e4612ae 100644 --- a/htdocs/admin/system/about.php +++ b/htdocs/admin/system/about.php @@ -83,6 +83,7 @@ print '
  • '; print ''.$langs->trans("OfficialWebSite").''; print '
  • '; // Show local site +/* if (preg_match('/^fr_/i', $langs->getDefaultLang())) { print '
  • '; @@ -112,7 +113,7 @@ if (preg_match('/^de_/i', $langs->getDefaultLang())) print '
  • '; print ''.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Germany")).''; print '
  • '; -} +}*/ print '
  • '; print ''.$langs->trans("OfficialWiki").''; print '
  • '; @@ -168,7 +169,7 @@ print $langs->trans("OtherResources").':'; print '