[wp-hackers] Access files inside a plugin directory?
jer at simianuprising.com
Thu Mar 25 00:45:01 UTC 2010
On Wed, Mar 24, 2010 at 12:04 PM, Otto <otto at ottodestruct.com> wrote:
> Just noticed this thread, but yes, that is definitely preferable to
> symlinking anything. The whole purpose of those constants is
> specifically to allow you to move those directories to elsewhere in
> the filesystem.
> Constants you'd care about:
> PLUGINDIR (backward compatibility)
> MUPLUGINDIR (backward compatibility)
I considered using these instead of symlinks when they came out but my
experimentation with moving the content dirs let to an onslaught of
plugins that didn't work because they assumed wp-content in various
ways. It's kind of ironic that I am now being bitten in the ass by the
plugins that properly implement the movable directories.
Next time I have to deal with it I'll try out the new way. Maybe most
of the plugins I need will have been updated to the standards
Code and Design | globalvoicesonline.org
More information about the wp-hackers