mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:50:12 +00:00
Move Config::set() to DI::config()->set()
This commit is contained in:
parent
6c36fd9e01
commit
3411ced833
29 changed files with 213 additions and 229 deletions
|
@ -115,7 +115,7 @@ class Summary extends BaseAdminModule
|
|||
$confBasepath = $configCache->get('system', 'basepath');
|
||||
$currBasepath = DI::config()->get('system', 'basepath');
|
||||
if ($confBasepath !== $currBasepath || !is_dir($currBasepath)) {
|
||||
if (is_dir($confBasepath) && Config::set('system', 'basepath', $confBasepath)) {
|
||||
if (is_dir($confBasepath) && DI::config()->set('system', 'basepath', $confBasepath)) {
|
||||
DI::logger()->info('Friendica\'s system.basepath was updated successfully.', [
|
||||
'from' => $currBasepath,
|
||||
'to' => $confBasepath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue