mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Various code optimalisations.
This commit is contained in:
@@ -107,7 +107,7 @@ class Range
|
||||
*/
|
||||
private function loseItAll(Request $request)
|
||||
{
|
||||
if (getenv('DB_CONNECTION') === 'sqlite' && getenv('IS_DOCKER') === true) {
|
||||
if ('sqlite' === getenv('DB_CONNECTION') && true === getenv('IS_DOCKER')) {
|
||||
$request->session()->flash(
|
||||
'error', 'You seem to be using SQLite in a Docker container. Don\'t do this. If the container restarts all your data will be gone.'
|
||||
);
|
||||
|
Reference in New Issue
Block a user