From 478cb006b4353809ba809715d48f7c59a435a95e Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sun, 5 Jan 2025 05:56:34 +0000 Subject: [PATCH] for vich_uploader --- config/bundles.php | 1 + config/services.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/config/bundles.php b/config/bundles.php index 0911750..e2dc57a 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -14,4 +14,5 @@ return [ Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true], Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true], Symfony\UX\Map\UXMapBundle::class => ['all' => true], + Vich\UploaderBundle\VichUploaderBundle::class => ['all' => true], ]; diff --git a/config/services.yaml b/config/services.yaml index 0eca6aa..9c31ece 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -4,6 +4,7 @@ # Put parameters here that don't need to change on each machine where the app is deployed # https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration parameters: + app.path.imageName: /upload/user/profiles services: # default configuration for services in *this* file