upload init move to media

This commit is contained in:
Arnaud Fornerot 2022-08-30 20:00:41 +02:00
parent 270bbfceb4
commit 7a3faf4b31
7 changed files with 1 additions and 9 deletions

View File

@ -6,12 +6,3 @@ oneup_uploader:
frontend: dropzone
header:
frontend: dropzone
niveau01:
frontend: dropzone
icon:
frontend: dropzone
file:
frontend: dropzone
namer: app.upload.samename
storage:
directory: "%kernel.project_dir%/uploads/file"

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 936 B

After

Width:  |  Height:  |  Size: 936 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -61,6 +61,7 @@ class MinioController extends AbstractController
case "uploads/avatar/system.jpg":
case "uploads/header/header.jpg":
case "uploads/logo/logo.png":
$file = str_replace("uploads","medias",$file);
$filePath = $file;
$content = file_get_contents($file);
break;