mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +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
|
@ -492,8 +492,8 @@ class DFRN
|
|||
$pubkey = DI::config()->get('system', 'site_pubkey');
|
||||
if (! $pubkey) {
|
||||
$res = Crypto::newKeypair(1024);
|
||||
Config::set('system', 'site_prvkey', $res['prvkey']);
|
||||
Config::set('system', 'site_pubkey', $res['pubkey']);
|
||||
DI::config()->set('system', 'site_prvkey', $res['prvkey']);
|
||||
DI::config()->set('system', 'site_pubkey', $res['pubkey']);
|
||||
}
|
||||
|
||||
$rp = q(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue