I'm still not an expert in PHP and PHPStorm. Now I need to know the following: Consider those four local files in the root directory:
Content of A.php:
Content of B.php:
This is proper on my local machine. However, if I deploy them into a folder on the remote host that is not the document root it doesn't work anymore. So how should I deal with it? How should I declare my references so that PHPStorm does not show any warnings?
Is there a best practice how to deal with including and referencing files in a project in general? A practice that will be appreciated by PHPStorm?
Thanks in advance.