Making it work with https://github.com/roots/bedrock
-
Roots Bedrock uses a non-standard folder layout/config for WordPress. To get your plugin running, I needed to make a slight change, which should enable the plugin to run in both standard and non-standard setups:
On line 29 of rackspace-cdn.php, I replaced this:
define('RS_CDN_PATH', ABSPATH.PLUGINDIR.'/rackspace-cloud-files-cdn/');
with this:
define('RS_CDN_PATH', plugin_dir_path( __FILE__ ));
It would be great if you could roll this in to an upcoming version and, in the meantime, this might be helpful to other users.
Thanks for a great plugin.
https://www.ads-software.com/plugins/rackspace-cloud-files-cdn/
- The topic ‘Making it work with https://github.com/roots/bedrock’ is closed to new replies.