Forum

[SOLVED] directory ...
 
Notifications
Retirer tout

[SOLVED] directory for uploaded images

4 Posts
2 Utilisateurs
0 Reactions
3,676 Vu
Maréchal
(@cmarechal)
Posts: 64
Active Member
Début du sujet
 
[#3602]

Hi,
I noticed that uploaded images (to insert in a message for example with CK editor) are recorded in ../files/images. It would be useful to configure the path in parameters.php (such as for attach) in order not to lose the file when you change the version(and maybe for security problem ?)


 
Posté : 25 Août AM 10:088
(@babynus)
Posts: 14952
Membre Admin
 

It would be useful to configure the path in parameters.php (such as for attach) in order not to lose the file when you change the version

If you migrate the good way (overwriting existing with new) you won't loose anything.

and maybe for security problem ?

You cannot move this directory out of web access, like it is possible for attachment.
The reason is that the editor only integrates the url to the image, so to be displayed it needs to be reached directly through browser interface.
If you need to share confidential images, just use attachments, and not direct copy in the editor.


 
Posté : 25 Août PM 15:088
Maréchal
(@cmarechal)
Posts: 64
Active Member
Début du sujet
 

If you migrate the good way (overwriting existing with new) you won't loose anything.

Well, I have a problem because I don't use the good migration method (I rename the projeqtor directory as projeqtor_old and I create a new projeqtor directory with the new version)

Thanks for your tip.


 
Posté : 25 Août PM 17:088
(@babynus)
Posts: 14952
Membre Admin
 

I rename the projeqtor directory as projeqtor_old

You should copy projeqtor directory as projeqtor_old (for a backup) and not rename it 😉


 
Posté : 25 Août PM 18:088
Share:
Retour en haut