Open s-renier-taonix-fr opened 2 years ago
Hi, added option in config
$config['saveSameFileNameStrategy'] = "addNumber"
- Strategy in case the uploaded file has the same name as the file
on the server.
It doesn't work. In fact, I can't find any occurrence of "saveSameFileNameStrategy" in the code except in the "Readme"
This repository contains only the code that deploys the application to your backend; all logic is in its deps in jodit/application
https://github.com/xdan/jodit-connector-application package, just update it
composer upgrade jodit/application
Yes I know.
But I figured out the problem now: The docker image used in this project is "chialab/php:7.2-fpm". This release contains a version of "composer" which only installs version "3.0.33" of the "jodit-application" dependency.
I went to the "chialab/php:8.0-fpm" image and it's ok now, the "saveSameFileNameStrategy" configuration option is taken into account. And I find many occurrences of this option in "jodit-application".
Thank you for your help. You can archive this message.
Hi!
Is it possible to have an option so that a file is not overwritten when uploading a file with an existing name? Ideally, the new file should be named automatically with a suffix like "_copy" or the current datetime.