From 3bc5b6418b3661075bad8f0bbc2224d27ad8c9c4 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Mon, 13 Feb 2023 14:47:47 +0100 Subject: [PATCH] Bugfix --- app/Http/Controllers/InstallerController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/InstallerController.php b/app/Http/Controllers/InstallerController.php index 35e26a1..d595e6b 100644 --- a/app/Http/Controllers/InstallerController.php +++ b/app/Http/Controllers/InstallerController.php @@ -55,8 +55,8 @@ class InstallerController extends Controller $file = base_path('INSTALLERLOCK'); if (!file_exists($file)) { - $handle = fopen($file, 'w') or die('Cannot create file: '.$file); - fclose($handle); + $handleFile = fopen($file, 'w') or die('Cannot create file: '.$file); + fclose($handleFile); } if(DB::table('users')->count() == '0'){