Can't resolve target expression

require_once('config/config.inc.php');
require_once('config/db_connect.php');



Those are the expressions I'm getting the warning on. But they do exist and the page runs with no errors (for PHP). I tried including the directories in the PHP setup (along with PEAR) but still a no go.

Obviouslly I'm missing something basic about the IDE. Is there a place to set includes per proejct?

Thanks...
0
5 comments

Add that folders to content roots and set directory parent to 'config' directory as resource root. See screenshot below:
directories.jpg

0

I did this...

I still get the warnings in the code. Code completion works though, displaying functions from scripts in those directories. And of course, all the scripts run...

Thanks for replying, by the way. :)



Attachment(s):
screenshot.png
0

You need to set up includes at Settings|PHP|include path.

0

That did not work. I still get the warnings.

0

Please sign in to leave a comment.