Mask Image 1

Join Pressible, a link to sign up for Pressible

Pressible Development

Contact | Feed RSS Icon

Recent Contributors

Related Topics

Related Tags

__FILE__ RSS Icon

2 posts
1 authors
1 categories

Symlink Fix for the XML Sitemap Feed Plugin 

I posted a fix for RavanH's XML Sitemap Feed plugin that allows it to function behind symlinks and thus be deployed via Capistrano. The change is minor, and the modified code is up on GitHub. For further explanation of the problem, check out this previous post: Problems Detecting WordPress MU in Plugins with PHP’s __FILE__.

Posted 117 months ago by

Post a comment.

Problems Detecting WordPress MU in Plugins with PHP’s __FILE__ 

I'm a fan of symlink-type deployment scripts such as Capistrano, which is in heavy use in Pressible. It's not perfect, but it's how we deploy most of our non-MU code (plugins, themes, etc.). The basic premise of these scripts is that code is copied from your SCM system into a staging directory, and once everything …

Posted 118 months ago by

11 Comment(s):