-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
43 lines (43 loc) · 1.19 KB
/
Copy pathconfig.php
File metadata and controls
43 lines (43 loc) · 1.19 KB
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
33
34
35
36
37
38
39
40
41
42
43
<?php
return [
'db' => [
'host' => '127.0.0.1',
'port' => 3306,
'name' => 'udrive',
'user' => 'root',
'pass' => '',
'charset' => 'utf8mb4',
],
'app' => [
'name' => 'UDrive',
'url' => null,
'debug' => true,
],
'session' => [
'lifetime' => 86400,
'name' => 'udrive_session',
],
'google_drive' => [
'client_id' => 'YOUR_GOOGLE_CLIENT_ID',
'client_secret' => 'YOUR_GOOGLE_CLIENT_SECRET',
'redirect_uri' => 'http://localhost/UDrive/api/drives/callback?provider=google_drive',
'scopes' => ['https://www.googleapis.com/auth/drive'],
],
'onedrive' => [
'client_id' => 'YOUR_ONEDRIVE_CLIENT_ID',
'client_secret' => 'YOUR_ONEDRIVE_CLIENT_SECRET',
'scopes' => ['files.ReadWrite', 'offline_access'],
],
'dropbox' => [
'client_id' => 'YOUR_DROPBOX_APP_KEY',
'client_secret' => 'YOUR_DROPBOX_APP_SECRET',
],
'mega' => [
'api_url' => 'https://g.api.mega.co.nz/cs',
],
'encryption' => [
'cipher' => 'aes-256-gcm',
'pbkdf2_iterations' => 100000,
'chunk_size' => 65536,
],
];