nicoSWD / put.io-api-v2

PHP OAuth API wrapper for put.io (putio)
MIT License
15 stars 5 forks source link

Autoload using absolute paths #1

Closed tiefpunkt closed 11 years ago

tiefpunkt commented 11 years ago

We had an issue (derpware/derptracker#15) when using this library, which required us to change the path in the Autoloader.php. Upon closer examination, I figured this could be addressed by using absolute paths for loading classes, instead of relative paths.

This solves our issue, and should also not do any harm for other projects using this library.

nicoSWD commented 11 years ago

Looks good, thank you! I'll merge your pull request.