Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Changing path for uploads
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!
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:
1
Comments
You have to change directly in the file