Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
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