forked from sergix44/xbackbone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.php
More file actions
29 lines (28 loc) · 967 Bytes
/
Copy pathconfig.example.php
File metadata and controls
29 lines (28 loc) · 967 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
<?php
return [
'base_url' => 'https://localhost', // no trailing slash
'db' => [
'connection' => 'sqlite',
'dsn' => realpath(__DIR__).'/resources/database/xbackbone.db',
'username' => null,
'password' => null,
],
'storage' => [
'driver' => 'local',
'path' => realpath(__DIR__).'/storage',
],
'oauth' => [
'enabled' => true,
'name' => 'OAuth2',
'clientId' => 'YOUR_ID_HERE',
'clientSecret' => 'YOUR_SECRET_HERE',
'redirectUri' => 'https://example.com/oauth/callback',
'urlAuthorize' => 'https://auth.example.com/application/o/authorize/',
'urlAccessToken' => 'https://auth.example.com/application/o/token/',
'urlResourceOwnerDetails' => 'https://auth.example.com/application/o/userinfo/',
'groups' => [
'admin' => 'xBackBone_Admin',
'user' => 'xBackBone_User',
]
]
];