HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Change local /uploads folder to remote one
noszone
New
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?
Tagged:
0
Comments
See this discussion for inspiration: https://open.vanillaforums.com/discussion/comment/245442#Comment_245442
But in the end there is no "solution" for that and I don't think that it would be a good idea. Simply add more space to your server 1 and that's it.