mirror of https://github.com/friendica/friendica
Fix typo and Notice
Fix > PHP Notice: Undefined index: charset in src/Core/Config/Cache/ConfigCacheLoader.php on line 131
This commit is contained in:
parent
4315fec756
commit
d8e508567b
|
@ -128,7 +128,7 @@ class ConfigCacheLoader
|
||||||
unset($db_data);
|
unset($db_data);
|
||||||
}
|
}
|
||||||
if (isset($a->config['system']['db_charset'])) {
|
if (isset($a->config['system']['db_charset'])) {
|
||||||
$a->config['database']['charset'] = $a->config['system']['charset'];
|
$a->config['database']['charset'] = $a->config['system']['db_charset'];
|
||||||
}
|
}
|
||||||
if (isset($pidfile)) {
|
if (isset($pidfile)) {
|
||||||
$a->config['system']['pidfile'] = $pidfile;
|
$a->config['system']['pidfile'] = $pidfile;
|
||||||
|
|
Loading…
Reference in New Issue