[Plugin: WP Super Cache] fix hard-coded path?
i have a special setup where i develop locally and then use git to push to my phpfog.com account. i wonder if you would entertain the idea of removing the hard-coded absolute path in favor of using the WP ABSPATH constant in wp-config.php to generate the cache path?
like this (snipped from the bottom of wp-config.php):
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
define( ‘WPCACHEHOME’, ABSPATH . ‘wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
- The topic ‘[Plugin: WP Super Cache] fix hard-coded path?’ is closed to new replies.