please update WPCACHEHOME path to something more dynamic
We run Worpit.com / WorpDrive backup and we’re seeing users who use WP Super Cache, so that when they restore their site, they get PHP include errors because the WPCACHEHOME value is a static value added to the wp-config.
If you move this site to another server, this value is broken immediately.
Instead, you could use a relative path, such as:
define( 'WPCACHEHOME', __FILE__.'/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
Or even better, would be to use the WordPress constant: WP_CONTENT_DIR, or the other WordPress constant ABS_PATH.
Anything else would do, because hard-coding the path causes problems.
We would be very grateful if you could update your plugin to support relative paths.
- The topic ‘please update WPCACHEHOME path to something more dynamic’ is closed to new replies.