Forums

WP Super Cache
fix hard-coded path? (1 post)

  1. sophistry
    Member
    Posted 7 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic