-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-sample.php
More file actions
32 lines (27 loc) · 974 Bytes
/
config-sample.php
File metadata and controls
32 lines (27 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
return [
// CalDAV settings
'caldav_url' => 'https://example.com/caldav/calendars/username/calendar-id/',
'caldav_username' => 'your-username',
'caldav_password' => 'your-password',
// Access control
'auth_enabled' => false,
'auth_session_key' => 'user_authenticated',
'auth_session_value' => 'yes',
'auth_redirect_url' => '/login',
// Appearance
'title' => 'My Calendar',
'logo_url' => 'assets/logo.png',
'favicon_url' => 'assets/favicon.ico',
// Menu items
// The items are automatically translated using the lowercase version of the `text` value as the translation key.
// Add the corresponding translations in lang/[lang].php
'menu' => [
['text' => 'Home', 'url' => '/'],
['text' => 'Settings', 'url' => '/settings'],
['text' => 'Logout', 'url' => '/logout'],
],
// Language
'default_language' => 'en',
'available_languages' => ['en', 'fr', 'de'],
];