Uploads location and access by vanilla
Hi all. I've been going around in circles for a few days now and reading through the threads on the forum here has helped me a lot but I'm getting caught out by how Vanilla accesses uploaded files.
I've finally worked out how to create the bootstrap.before.php file and i've added this line to it to ensure the uploaded files go to a top level destination:
However, whilst Vanilla delivers the files to the right location it actually fails to display the picture so I'm assuming there must be another line of code somewhere that calls the files back. So my question is. Where is this line of code please?
I've scoured the config.php and constants,php files and cannot find it there and I'm not sure where else to look.
Any help or pointers will be gratefully accepted.
Oh the reason for my wanting the uploads in a top level folder is so I can run a separate mobile vanilla on the same server which can also access the upload folder. The reason I want to run a sepaerate mobile version is that my desktop (version) header files do not work well in the auto-mobile version.
Thanks in advance for any help you can offer - Sam