upload init move to media
@ -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"
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 936 B After Width: | Height: | Size: 936 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -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;
|
||||
|