From 382aebcf1697a0cb3bd503ec9abe196450c29d4d Mon Sep 17 00:00:00 2001 From: WebShells Date: Sat, 19 Sep 2020 00:32:38 +0300 Subject: [PATCH] Updates to System Info Updates to System Info Fixing misplaced error messages (language variables). --- application/views/configs/system_info.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/configs/system_info.php b/application/views/configs/system_info.php index fa331c275..783212c0c 100644 --- a/application/views/configs/system_info.php +++ b/application/views/configs/system_info.php @@ -113,7 +113,7 @@ echo ' - ' . substr(sprintf("%o",fileperms($importcustomers)),-4) . ' | ' . ' Not Readable ✗ '; } clearstatcache(); - if (is_writable($importcustomers) && substr(decoct(fileperms($importcustomers)), -4) >= 751 ) { + if (is_writable($importcustomers) && substr(decoct(fileperms($importcustomers)), -4) >= 660 ) { echo ' | Vulnerable ✗'; } else { echo ' | Security Check Passed ✓ '; @@ -138,7 +138,7 @@ echo '
' . $this->lang->line('config_security_issue') . '
' . $this->lang->line('config_perm_risk') . '

'; } else { - echo '
' . $this->lang->line('config_security_issue') . '
' . $this->lang->line('config_no_risk') . '
'; + echo '
' . $this->lang->line('config_no_risk') . '
'; } if(substr(decoct(fileperms($logs)), -4) > 750) { echo '
» [application/logs:] ' . $this->lang->line('config_is_writable') . '';