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.

Change local /uploads folder to remote one

Is there any idea how to change local /uploads folder to remote one? For example, I have test1.com and I want to upload files (attachments and images) to the test2.com/uploads. The reason why I want to do - there is much more free space on test2.com server.

In the /conf/constants.php:

if (!defined('PATH_UPLOADS')) {

  define('PATH_UPLOADS', PATH_ROOT.DS.'uploads');

I've tried to change the path to remote(also permissions 777), but I can feel it needs more deep analyzing into files of rich editor firstly. And secondly need to satisfy some criteria such as:

how to make http post data to remote

permission issues

etc..


If somebody has an ideas to go for?

Comments

Sign In or Register to comment.