Skip to content

Commit

Permalink
set_include_path tip
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Apr 14, 2012
1 parent 3d0df8b commit 55ca225
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.markdown
Expand Up @@ -24,6 +24,14 @@ You can now use PHPUnit through the CLI or your favourite browser.

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.
Expand Down

0 comments on commit 55ca225

Please sign in to comment.