initial import

This commit is contained in:
2025-07-30 09:47:03 +02:00
commit b0a186a324
292 changed files with 32323 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
$locale = substr(request()->server('HTTP_ACCEPT_LANGUAGE'), 0, 2);
if (in_array($locale, ['de'])) {
app()->setLocale($locale);
} else {
app()->setLocale('en');
}
}
}