Move Config::set() to DI::config()->set()

This commit is contained in:
nupplaPhil 2020-01-19 21:21:53 +01:00
parent 6c36fd9e01
commit 3411ced833
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
29 changed files with 213 additions and 229 deletions

View file

@ -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(