I think the situation 99% familiar to all, but for some reason everyone is silent on how to deal with this?
Let's say project:
Actually do the include app/class.php in the file system/init.php.
// Something like this
define('ROOT', __DIR__ . '/app/');
include ROOT . 'class.php';</code-->
<br / >
PHPStorm does not understand the ways how the server sees and everything is taken from the root of the project. But I desired a method in which the full path is /home/user/www/domen.com/<br>
__DIR__ __FILE__ does not understand and takes the root of your.<br>
How to be, do not start the study due to the IDE just a gesture..