tibberous Posted July 16, 2007 Share Posted July 16, 2007 I have a bunch of code that is designed to run out a certain directory. I am integrating it with a bunch of code that is designed to run out of another directory. Now, I can change the include paths, but the includes include more includes, and it would be a mess to change everything. Is there some way I can set the base include directory, run the first bit of code, change the base include directory again, and run the second bit? Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted July 16, 2007 Share Posted July 16, 2007 This will add three new paths to your current path. set_include_path(get_include_path().";/new/path;/other/new/path;/another/path"); Quote Link to comment Share on other sites More sharing options...
tibberous Posted July 16, 2007 Author Share Posted July 16, 2007 Thanks! I actually looked through the doc's for a long time too! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.