lang->line('config_ospos_info') . ':'; ?>
config->item('application_version'); ?> - config->item('commit_sha1'), 0, 6); ?>
Language Code:
Extensions & Modules:
Enabled ✓' : '
Disabled ✗', '
';
echo "» BC Math: ", extension_loaded('bcmath') ? '
Enabled ✓' : '
Disabled ✗', '
';
echo "» INTL: ", extension_loaded('intl') ? '
Enabled ✓' : '
Disabled ✗', '
';
echo "» OpenSSL: ", extension_loaded('openssl') ? '
Enabled ✓' : '
Disabled ✗', '
';
echo "» MBString: ", extension_loaded('mbstring') ? '
Enabled ✓' : '
Disabled ✗', '
';
echo "» Curl: ", extension_loaded('curl') ? '
Enabled ✓' : '
Disabled ✗', '
';
?>
User Configuration:
.Browser:
.Server Software:
.PHP Version:
.DB Version: db->conn_id); ?>
.Server Port:
.OS:
File Permissions:
» [application/logs:]
Writable ✓ ';
} else {
echo ' - ' . substr(sprintf("%o",fileperms($logs)),-4) . ' | ' . '
Not Writable ✗ ';
}
clearstatcache();
if (is_writable($logs) && substr(decoct(fileperms($logs)), -4) != 750 ) {
echo ' |
Vulnerable or Incorrect Permissions ✗';
} else {
echo ' |
Security Check Passed ✓ ';
}
clearstatcache();
?>
» [public/uploads:]
Writable ✓ ';
} else {
echo ' - ' . substr(sprintf("%o",fileperms($uploads)),-4) . ' | ' . '
Not Writable ✗ ';
}
clearstatcache();
if (is_writable($uploads) && substr(decoct(fileperms($uploads)), -4) != 750 ) {
echo ' |
Vulnerable or Incorrect Permissions ✗';
} else {
echo ' |
Security Check Passed ✓ ';
}
clearstatcache();
?>
» [public/uploads/item_pics:]
Writable ✓ ';
} else {
echo ' - ' . substr(sprintf("%o",fileperms($images)),-4) . ' | ' . '
Not Writable ✗ ';
}
clearstatcache();
if (substr(decoct(fileperms($images)), -4) != 750 ) {
echo ' |
Vulnerable or Incorrect Permissions ✗';
} else {
echo ' |
Security Check Passed ✓ ';
}
clearstatcache();
?>
» [import_customers.csv:]
Readable ✓ ';
} else {
echo ' - ' . substr(sprintf("%o",fileperms($importcustomers)),-4) . ' | ' . '
Not Readable ✗ ';
}
clearstatcache();
if (!((substr(decoct(fileperms($importcustomers)), -4) == 640) || (substr(decoct(fileperms($importcustomers)), -4) == 660) )) {
echo ' |
Vulnerable or Incorrect Permissions ✗';
} else {
echo ' |
Security Check Passed ✓ ';
}
clearstatcache();
?>
' . $this->lang->line('config_security_issue') . '
' . $this->lang->line('config_perm_risk') . '';
}
else {
echo '
' . $this->lang->line('config_no_risk') . '
';
}
if(substr(decoct(fileperms($logs)), -4) != 750) {
echo '
» [application/logs:] ' . $this->lang->line('config_is_writable') . '';
}
if(substr(decoct(fileperms($uploads)), -4) != 750) {
echo '
» [public/uploads:] ' . $this->lang->line('config_is_writable') . '';
}
if(substr(decoct(fileperms($images)), -4) != 750) {
echo '
» [public/uploads/item_pics:] ' . $this->lang->line('config_is_writable') . '';
}
if(!((substr(decoct(fileperms($importcustomers)), -4) == 640) || (substr(decoct(fileperms($importcustomers)), -4) == 660))) {
echo '
» [import_customers.csv:] ' . $this->lang->line('config_is_readable') . '';
}
?>
config->item('timezone'); ?>