Help Regarding Uploading a Image and Use it in two places

Hello All,

We are having two applications which use the same Database.What my requirement is if i upload an image in application1 i want the image to get reflected in application 2 .By Default all images uploaed in app1 are getting stored in app1/public/system folder.How can i reference my app2 to the app1/publuc/system/folder

Thanks Jagan

You might try, in app2, setting a global constant in your application controller called IMAGE_ROOT or something like that, and give it the full absolute path to the images in app1.

IMAGE_ROOT = '/var/www/vhosts/app1/public/system'