-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
66 lines (54 loc) · 1.92 KB
/
config.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
return [
/*
|--------------------------------------------------------------------------
| Token
|--------------------------------------------------------------------------
|
| The token is used as verification before allowing an image upload.
| It should be a private, randomly generated string.
|
*/
'token' => '',
/*
|--------------------------------------------------------------------------
| Upload Directory
|--------------------------------------------------------------------------
|
| The directory used for uploaded images. It must have an appended '/'.
| If you want to use the current directory, simply set it to false.
|
*/
'dir' => 'screenshots/',
/*
|--------------------------------------------------------------------------
| Maximum Filesize
|--------------------------------------------------------------------------
|
| The maximum filesize of an uploaded image in megabytes.
|
*/
'size' => 100,
/*
|--------------------------------------------------------------------------
| Filename Slug
|--------------------------------------------------------------------------
|
| The filename slug is a string appended to the uploaded image filename.
| If you do not want a filename slug, simply set it to false.
|
*/
'slug' => 'Screenshot_',
/*
|--------------------------------------------------------------------------
| Filename Timestamp
|--------------------------------------------------------------------------
|
| The timestamp is used for generating a randomized image filename.
| It is based off of PHP's built in date() function. If set to false, your
| filename will be randomly generated using the Hashids library instead
| which will give you unique filenames similar to Imgur.
|
*/
'timestamp' => 'Y-m-d_H-i-s',
];