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') . '';