mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-28 05:49:32 +00:00
Uploaded (non secure) attachments live now in public/
That way the attachment files can now be loaded much quicker (without invoking a controller). Also added thumbnailing for pictures in tables.
This commit is contained in:
parent
1b28006267
commit
4fe10b6169
21 changed files with 552 additions and 21 deletions
|
|
@ -11,7 +11,7 @@ parameters:
|
|||
banner: '' # The info text shown in the homepage
|
||||
use_gravatar: true # Set to false, if no Gravatar images should be used for user profiles.
|
||||
default_currency: 'EUR' # The currency that should be used
|
||||
media_directory: 'data/media/'
|
||||
media_directory: 'public/media/'
|
||||
db_version_fallback: '5.6' # Be sure to override this, in your .env with your real DB version
|
||||
|
||||
services:
|
||||
|
|
@ -32,6 +32,9 @@ services:
|
|||
resource: '../src/Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Liip\ImagineBundle\Service\FilterService:
|
||||
alias: 'liip_imagine.service.filter'
|
||||
|
||||
app.doctrine.elementListener:
|
||||
class: App\Security\EntityListeners\ElementPermissionListener
|
||||
public: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue