Jump to content


Photo

Includes path


  • Please log in to reply
1 reply to this topic

#1 e33basketball

e33basketball
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 15 March 2006 - 05:31 PM

Hi,

I have a question about includes path.

I'm having trouble... anytime that I try to include a file that isnt in the same folder as itself... i get this error:

Warning: include() [function.include]: Failed opening 'inc/current.php' for inclusion (include_path='.;C:\server\xampp\php\pear\') in C:\server\xampp\htdocs\account\index.php on line 38

Is this something I can change in my INI folder?

Thanks,

Erik


#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 15 March 2006 - 05:38 PM

You can add to your include_path in your .ini file. But you shouldn't really need to. Maybe your inc/ directory doesn't have read permissions set properly.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users