56 lines
No EOL
2.4 KiB
Text
56 lines
No EOL
2.4 KiB
Text
shortTitle: "File 2 Link"
|
|
title: "A file against a temporary link"
|
|
maintenanceMod: false # true or false
|
|
maintenanceMsg: "A maintenance is in progress ... Please come back later"
|
|
mainteneurIp: "X.X.X.X"
|
|
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
|
|
- 15
|
|
- 30
|
|
- 90
|
|
- 180
|
|
expireDayDefault : 15
|
|
imageResize: # Propose resize images
|
|
- 0 # 0 = no resize
|
|
- 300
|
|
- 800
|
|
- 1024
|
|
- 1920
|
|
- 2048
|
|
- 4096
|
|
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
|
|
imageResizeDefault : 1024
|
|
maxUploadPerFile: 30M
|
|
minUploadPerFile: 1 # Exemple 100K, 30M, 12G
|
|
maxUploadTotal: 90M # Exemple 100K, 30M, 12G
|
|
maxUploadNb: 100
|
|
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'
|
|
#~ 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
|
|
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
|
|
# For not upload identique file, just link
|
|
check_checksum: true
|
|
checksumDb: files/checksum.db |