Support » Plugin: Merge + Minify + Refresh » Add hook to allow me modify paths out wp-config

  • Right now, if I want to modify the caching path, I must do it in the wp-config file. Problem is that at that point, not much else is defined, so it’s hard to create conditionals. Some servers won’t allow anything to be written to wp-content.

    So.. it would be useful to have a hook to allow me to modify these paths (eg “MMR_CACHE_DIR”) at theme level (functions.php).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter p10design

    (@p10design)

    Also, after I changed the path in the wp-config file, I no longer see the Purge All buttons in the admin. The files are loading, the page is loading fine, no errors… but no way to purge them.

    Plugin Author launchinteractive

    (@launchinteractive)

    Hi Dan.

    Thats an interesting suggestion. I’ll look into it.

    The missing purge all button is strange. We don’t do anything that should hide it. What happens if you manually purge all (delete the MMR folder).

    Thread Starter p10design

    (@p10design)

    I am not sure why it’s hidden. I guess it’s not finding the new folder I defined, but I get no errors. When I check the css of that page I see that’s there, but the main block is hidden. I checked your JS and I see that the display none is removed once content is retrieved from ajax call, so I guess the ajax call is failing.

    Plugin Author launchinteractive

    (@launchinteractive)

    Ahh right. What does the ajax call return? Do you have WordPress Debug mode on?
    Are there any errors in your hosting logs?

    Thread Starter p10design

    (@p10design)

    Haven’t had time to debug anything. I will update this post once I have more info.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add hook to allow me modify paths out wp-config’ is closed to new replies.