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.
Options

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:

Comments

  • Options
    Ok, I make an autoanswer, the file that control the uploads, dont get the upload path PATH_UPLOADS, is hard coded.

    You have to change directly in the file :(
  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    If you want to post an issue we will address it. http://github.com/vanillaforums/Garden/issues/
  • Options
    Can anyone offer insite on how to change/fix the upload path? Mine is currently pointing to /uploads/uploads for some reason.
Sign In or Register to comment.