Commit d3357a96 authored by marclaporte's avatar marclaporte

Tiki Check: changing missing default_charset and date.timezone from 'bad' to...

Tiki Check: changing missing default_charset and date.timezone from 'bad' to 'ugly' because I have seen a lot of servers with this configuration and I never noticed a real-World issue. Please revert if you feel the lack of these settings is a real problem.
parent c1f0050d
......@@ -535,7 +535,7 @@ if ( strtolower($s) == 'utf-8' ) {
);
} else {
$php_properties['default_charset'] = array(
'fitness' => tra('bad'),
'fitness' => tra('ugly'),
'setting' => $s,
'message' => tra('default_charset should be UTF-8 as Tiki is fully UTF-8. Please check your php.ini.')
);
......@@ -545,7 +545,7 @@ if ( strtolower($s) == 'utf-8' ) {
$s = ini_get('date.timezone');
if ( empty($s) ) {
$php_properties['date.timezone'] = array(
'fitness' => tra('bad'),
'fitness' => tra('ugly'),
'setting' => $s,
'message' => tra('You have no timezone set! While there are a lot of fallbacks in PHP to determine the timezone, the only reliable solution is to set it explicitly in php.ini! Please check the value of date.timezone in php.ini.')
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment