Sprache bei Mail; hinzufügen Spendenverordnung

This commit is contained in:
2026-03-30 23:05:31 +02:00
parent 6706c7e764
commit 0ba3158bb4
9 changed files with 67 additions and 33 deletions

View File

@@ -9,19 +9,6 @@ use Illuminate\Support\Facades\Auth;
class WebsiteController extends Controller
{
public function __construct()
{
$this->setLang($_COOKIE['lang'] ?? 'de');
}
private function setLang($lang)
{
if (!in_array($lang, ['de', 'en'])) {
$lang = 'de';
}
App::setLocale($lang);
}
//
public function index(Request $request)