mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-26 04:49:32 +00:00
Moved attachment path conversion functions to own service.
This commit is contained in:
parent
ac238c65a0
commit
da46257757
8 changed files with 513 additions and 88 deletions
|
|
@ -74,6 +74,13 @@ services:
|
|||
arguments:
|
||||
$timezone: '%timezone%'
|
||||
|
||||
App\Services\Attachments\AttachmentPathResolver:
|
||||
arguments:
|
||||
$project_dir: '%kernel.project_dir%'
|
||||
$media_path: '%media_directory%'
|
||||
$footprints_path: 'public/img/footprints'
|
||||
$models_path: null
|
||||
|
||||
App\Services\TranslationExtractor\PermissionExtractor:
|
||||
tags:
|
||||
- { name: 'translation.extractor', alias: 'permissionExtractor'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue