jarednova/timber — pull request #157 by wesrice (2014-02-08 22:40:50+00:00)
Title: Fixes Issue #156

In a nutshell, I'm comparing to `ABSPATH` to `$_SERVER['DOCUMENT_ROOT']` to see if there is any difference. If so, WP is installed in a subdirectory. The subdirectory name is obtained and removed from the source path. `$urlinfo` needed to be redefined for passing the relative path correctly with the subdirectory included.