Browse files

Merge pull request #7 from dereuromark/master

set_include_path tip
  • Loading branch information...
2 parents d61cef1 + 55ca225 commit e9b182e403f04c1c4510db62bd11011072029bc6 @Hyra committed Apr 17, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.markdown
@@ -25,6 +25,14 @@ You can now use PHPUnit through the CLI or your favourite browser by using the n
It works with Linux and Windows. Please report any problems.
+## Autoload
+If you have it installed in your ROOT vendors and get some include warnings while baking put this at the top of the VENDORS/PHPUnit/Autoload.php file:
+ set_include_path(get_include_path().PATH_SEPARATOR.dirname(dirname(__FILE__)));
+This way the vendors folder itself is also an include path and those warnings will go away.
## Credits
BIG thanks to Mark Scherer for adding Windows support for the installation shell as well as making selecting version and vendor path dynamic.

0 comments on commit e9b182e

Please sign in to comment.