Update AppServiceProvider.php

This commit is contained in:
Dennis 2022-08-16 23:07:25 +02:00 committed by GitHub
parent 2c0ff94fca
commit db6967a7e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,10 +109,7 @@ class AppServiceProvider extends ServiceProvider
try {
Artisan::call('config:clear');
Artisan::call('cache:clear');
$stringfromfile = file(base_path().'/.git/HEAD');
Log::debug(base_path().'/.git/HEAD');
$firstLine = $stringfromfile[0]; //get the string from the array