Install: html lang + language & timezone provider same as admin

This commit is contained in:
Thomas Ingles 2024-04-30 20:49:27 +02:00
parent 556b77c08d
commit 174856f8e3
No known key found for this signature in database
GPG key ID: 02A5671B95EAD354
2 changed files with 3 additions and 1 deletions

View file

@ -108,6 +108,8 @@ class Installation extends EA_Controller
'email' => 'jane@example.org',
'phone_number' => '+1 (000) 000-0000',
'services' => [$service_id],
'language' => $admin['language'],
'timezone' => $admin['timezone'],
'settings' => [
'username' => 'janedoe',
'password' => random_string(),

View file

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="<?= config('language_code') ?>">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">