-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
47 lines (44 loc) · 1.53 KB
/
config.example.php
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
44
45
46
47
<?php
return [
/*
|--------------------------------------------------------------------------
| Base URL.
|--------------------------------------------------------------------------
|
| This is the base domain url of the public directory. Typically it should
| be a full domain name and nothing else. Do not include a trailing slash.
|
*/
'base_url' => 'http://example.com',
/*
|--------------------------------------------------------------------------
| API Secret.
|--------------------------------------------------------------------------
|
| The URL shortener authorization secret. This must be sent as a Bearer
| token in all API requests in the Authorization header. There is only
| one secret, and this is it. Pretty basic stuff folks.
|
*/
'api_secret' => 'put-a-long-string-here',
/*
|--------------------------------------------------------------------------
| Database connection.
|--------------------------------------------------------------------------
|
| These database credentials are used to access a database where hashes
| are stored with their respective url redirects. By default, mysql is
| recommended.
|
*/
'database' => [
'driver' => 'mysql',
'host' => 'mysql',
'database' => 'redirects',
'username' => 'your-username',
'password' => 'your-password',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
]
];