We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Relative path image to different project

Hi, I have two wesites on host :

            home/myname/public_html/
                        web_1(joomla)
                        web_2(phalcon)

I'm stay at web_2, how can i get images from web_1? Thanks,



58.4k
Accepted
answer

Hey

In bootstrap file you define path images , for example index.php

    define('APP_PATH', '../web_1/folder/images');

Then use it