2019-11-18 22:36:13 +00:00
shortTitle: "File 2 Link"
title: "A file against a temporary link"
2019-11-19 20:29:16 +00:00
maintenanceMod: false # true or false
maintenanceMsg: "A maintenance is in progress ... Please come back later"
mainteneurIp: "X.X.X.X"
2019-11-18 22:36:13 +00:00
backgroundImage: https://picsum.photos/1024/768?random=1
baseUrl: https://yoururl.tdl/
uploadDir: files # Dir in Read/Write accès
expireCron: web # 'web' or 'cli'
expireCronFreq: 86400 # juste for cron web, in second (exemple 86400 = 1j)
expireDay:
- 1
- 7
2020-05-01 23:00:35 +00:00
- 15
2019-11-18 22:36:13 +00:00
- 30
- 90
- 180
2020-05-01 23:00:35 +00:00
expireDayDefault : 15
2019-11-18 22:36:13 +00:00
imageResize: # Propose resize images
- 0 # 0 = no resize
- 300
- 800
- 1024
2020-05-01 23:00:35 +00:00
- 1920
2019-11-18 22:36:13 +00:00
- 2048
- 4096
2019-12-05 14:30:19 +00:00
passwordUniqKey: uiphv7olXzvghRanRCxF # get random here : https://www.random.org/strings/?num=1&len=20&digits=on&upperalpha=on&loweralpha=on&unique=on&format=html&rnd=new
passwordTimeRemember: '+2 hours' # https://www.php.net/manual/fr/function.strtotime.php
deleteAfterAccessDefault: 1
2019-11-18 22:36:13 +00:00
imageResizeDefault : 1024
2020-05-01 23:00:35 +00:00
maxUploadPerFile: 30M
minUploadPerFile: 1 # Exemple 100K, 30M, 12G
2019-11-18 22:36:13 +00:00
maxUploadTotal: 90M # Exemple 100K, 30M, 12G
maxUploadNb: 100
2020-06-16 08:13:54 +00:00
acceptFileTypes: '/(\.|\/)(pdf|xml|od[a-z]|doc[a-z]?|xls[a-z]?|csv|ppt[a-z]?|7z|zip|bz|bz2|rar|tar|gz|tgz|txt|md|gif|jpe?g|png|svg|bmp|ico|mp3|aac|mid|wav|ov[a-z]|web.?|avi|mp[a-z]?g|mov|mp.+|wm.+|xml|iso|torrent)$/i'
2020-05-01 23:00:35 +00:00
#~ Set to 0 to use the GD library to scale and orient images,
#~ set to 1 to use imagick (if installed, falls back to GD),
#~ set to 2 to use the ImageMagick convert binary directly:
imageLibrary: 0
#~ If set 2 :
imageConvertBin: 'convert'
imageIdentifyBin: 'identify'
imageAutoOrient: true
checkUpdate: 86400 # in seconds or "false" for disable
2019-11-18 22:36:13 +00:00
similarServicesView: true
similarServicesLink:
- <a href="https://send.firefox.com">Firefox Send</a>
- <a href="https://toffeeshare.com/">ToffeeShare</a>
- <a href="https://envelop.app/">Envelop</a>
- <a href="https://framadrop.org/">Framadrop</a>
htmlPages: # This page is search in dir "htmlPages/$name.html" clear if you wan't disable
cgu: CGU # Print page "htmlPages/cgu.html"
checkUpdate: 86400 # in seconds or "false" for disable
2023-05-21 13:06:58 +00:00
# For not upload identique file, just link
check_checksum: true
checksumDb: files/checksum.db