HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
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
Hello,

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!
Tagged:
kang_andi

Comments

Sign In or Register to comment.