forked from FileZ/FileZ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfilez.default.ini
67 lines (61 loc) · 1.77 KB
/
filez.default.ini
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
67
;
; NEVER EDIT THIS FILE
;
; To customize your installation, edit "filez.ini". If you make
; changes here, they will be lost on next upgrade of FileZ!
;
; Documentation is in the source of filez.ini.example and on:
; https://github.com/UAPV/FileZ/wiki
;
[app]
debug = false
send_us_a_file_feature = false
use_url_rewriting = true
log_dir = /var/log/filez
upload_dir = /var/filez/uploads
filez1_compat = false
max_file_lifetime = 20
default_file_lifetime = 10
max_extend_count = 7
min_hash_size = 4
max_hash_size = 8
default_locale = fr
auth_handler_class = Fz_Controller_Security_Internal
user_factory_class = Fz_User_Factory_Database
user_quota = 2G
https = off
progress_monitor = Fz_UploadMonitor_Apc
sharing_destinations[] = email
admin_email = postmaster@example.com
antivirus = false
; force_fqdn = filez.domaine.fr; used by getDownloadUrl() in app/models/File.php See https://github.com/FileZ/FileZ/issues/24
; cache_dir = tmp; Shared hosting often needs to specify a writeable dir as temp dir. (fix Zend error: "specify a cache_dir")
[db]
dsn = "mysql:host=localhost;dbname=filez"
user = filez
; db_dialect = "Sqlite"
[cron]
days_before_expiration_mail = 2
frequency = +1 day
[email]
from_name=Filez
from_email = filez@example.com
host=smtp.example.com
name = filez
[user_factory_options]
db_use_global_conf = true
db_table = fz_user
db_username_field = username
db_password_field = password
db_password_algorithm = SHA1
; You have the possibility to block certain users with:
; accountFilterFormat = "(&(objectClass=posixAccount)(uid=%s)(mailenable=true))" See https://github.com/FileZ/FileZ/issues/12
[user_attributes_translation]
firstname = firstname
lastname = lastname
email = email
id = username
quota = quota
[looknfeel]
show_credit = true
help_url = help