BUG 8978 "Upgrade de la version 2.0.39 a la version 2.0.40 no ..." SOLVED
- for some php versions date.timezone is not configurated by default, that why th problem - on cli.php date.timezone is being configurated now, if env.ini exists, its configuration in read
This commit is contained in:
@@ -1030,13 +1030,13 @@ class System {
|
||||
|
||||
/* Read the env.ini */
|
||||
$ini_contents = parse_ini_file($iniFile, false);
|
||||
|
||||
// validation debug config, ony accept bynary values, 1 to enable
|
||||
$ini_contents['debug'] = $ini_contents['debug'] == 1 ? 1 : 0;
|
||||
|
||||
if ($ini_contents !== false) {
|
||||
$config = array_merge($config, $ini_contents);
|
||||
}
|
||||
|
||||
// validation debug config, ony accept bynary values, 1 to enable
|
||||
$config['debug'] = $config['debug'] == 1 ? 1 : 0;
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user