Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Changing path for uploads

edited July 2010 in Vanilla 2.0 - 2.8

I am trying to change the path of my uploads and when I change the PATH_UPLOADS in constant.php and I upload a photo for a user thumb, vanilla ignore this new path and upload the photo to uploads/userpics instead of uploads/newpath/userpics.

This is the change that I have done in the constant file
define('PATH_UPLOADS', PATH_ROOT . DS . 'uploads/newpath');

Any one can tell me a solution?

Thanks in advance!


Sign In or Register to comment.