PhpStorm Server document root mismatch
Hello, I'm facing an issue in PhpStorm. I'm including scripts using PHP variable $_SERVER['DOCUMENT_ROOT'] and PhpStorm is warning me that paths are unresolved. My actual web server document root is located in a subfolder of PhpStorm's project and PhpStorm is assuming that $_SERVER['DOCUMENT_ROOT'] equals to project's directory. This is generating a mismatch and I'm receiving warnings although paths are correctly set. I tried to change paths in Deployment but nothing seems to change. Any ideas?
Thanks in advance.
请先登录再写评论。
No workarounds currently, it's a missing feature: https://youtrack.jetbrains.com/issue/WI-35064