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'){