Index: branches/5.0.x/core/install/step_templates/security.tpl
===================================================================
diff -u -r12277 -r12435
--- branches/5.0.x/core/install/step_templates/security.tpl (.../security.tpl) (revision 12277)
+++ branches/5.0.x/core/install/step_templates/security.tpl (.../security.tpl) (revision 12435)
@@ -7,7 +7,7 @@
$error_tpl = '
%s |
- %s |
+ %s |
';
$output = '';
@@ -20,8 +20,8 @@
$write_check = $path_secure = false;
}
- $status_text = $path_secure ? 'Secure' : 'Vulnerable';
- $output .= sprintf($error_tpl, $check_path, $status_text);
+ $status_text = $path_secure ? '[Secure]' : '[Vulnerable]';
+ $output .= sprintf($error_tpl, $check_path . (!$path_secure? ' (755 required)' : ''), $status_text);
}
$skip_check = $write_check ? '' : '';
@@ -31,7 +31,7 @@
if (!$write_check) {
$output .= '
- For security reasons it\'s highly recommended to set 755 permissions on above files to prevent hackers from attacking your website!
|
+ For security reasons it\'s REQUIRED to set 755 permissions on the above files to prevent from attacks on your website!
';
}
@@ -53,7 +53,7 @@
$output .= sprintf($heading_tpl, 'Ability to Execute PHP in Writable Folders', 'text');
- $status_text = $execute_check ? 'Secure' : 'Vulnerable';
+ $status_text = $execute_check ? '[Secure]' : '[Vulnerable]';
$output .= sprintf($error_tpl, 'Result of creating and executing PHP file(s) in "/system" (or "/system/images") folder', $status_text);
if (!$execute_check) {
@@ -83,13 +83,15 @@
if (($var_value && !$current_value) || (!$var_value && $current_value)) {
$directive_check = false;
- $status_text = 'Vulnerable';
+ $message_text = 'set to On';
+ $status_text = '[Vulnerable]';
}
else {
- $status_text = 'Secure';
+ $message_text = 'set to Off';
+ $status_text = '[Secure]';
}
- $output .= sprintf($error_tpl, 'Directive: ' . $var_name . '', $status_text);
+ $output .= sprintf($error_tpl, 'Directive: ' . $var_name . ' ' . $message_text, $status_text);
}
/*if (!$directive_check) {