Revert multiple directories for attachments to only one by default

Started by Ramón Cutanda, October 05, 2017, 10:38:48 PM

Previous topic - Next topic

Ramón Cutanda

Is it possible to go back to using only one attachment directory after having been using multiple directories?

The idea would be to move all the files contained in the multiple directories to only the default and not breaking any link.

I have looked that info up in the forum but I have not been able to find an answer.

Thank you in advance.

Bests,

PS: One possible answer...

If I physically move all files from all the multiple directories into the default directory and then I set all the id_folder field as 1 in the attachments table... should that do the job?

My reply: Yes! It seems to work :-)

Advertisement: