Environment: IIS7, Windows 2008 Server, MySQL
Using latest version of Types
I'm using the option to embed the types plugin code into my theme.
For example, this is the resource path:
This works fine when using the plugin (i.e. not embedding).
I did a little digging and the issue seems to be confined to "path.php" in classes:
- getDocRoot() : this method generates the doc root, but is actually coming back with the path to post.php
- It also has doubled forward-slashes.
- getFileUrl() the resultant $docroot is not a substring of $__FILE__ so it just concatenates them.