mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Various code cleanup.
This commit is contained in:
@@ -218,7 +218,7 @@ class InstallController extends Controller
|
||||
public function keys(): void
|
||||
{
|
||||
// switch on PHP version.
|
||||
|
||||
$keys = [];
|
||||
// switch on class existence.
|
||||
Log::info(sprintf('PHP version is %s', phpversion()));
|
||||
if (class_exists(LegacyRSA::class)) {
|
||||
@@ -242,7 +242,7 @@ class InstallController extends Controller
|
||||
return;
|
||||
}
|
||||
|
||||
file_put_contents($publicKey, Arr::get($keys, 'publickey'));
|
||||
file_put_contents($privateKey, Arr::get($keys, 'privatekey'));
|
||||
file_put_contents($publicKey, $keys['publickey']);
|
||||
file_put_contents($privateKey, $keys['privatekey']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user