WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] fix hard-coded path?

[Plugin: WP Super Cache] fix hard-coded path?

  • hi!
    great plugin.

    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__) . ‘/’);

    // 20121010
    define( ‘WPCACHEHOME’, ABSPATH . ‘wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager

    thanks!

    http://wordpress.org/extend/plugins/wp-super-cache/

  • The topic ‘[Plugin: WP Super Cache] fix hard-coded path?’ is closed to new replies.
Skip to toolbar