Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure updated $cache_path ends in '/' #77

Merged
merged 1 commit into from Feb 3, 2017

Commits on Nov 20, 2015

  1. Make sure updated $cache_path ends in '/'

    basename() removes the trailing slash, which is expected in the $cache_path variable / config file. Without this fix, you can enter /some/path/wp-content/cache/ and end up with /some/path/wp-content/cachesupercache/ , .../wp-content/cachemeta/ , etc.
    
    Also, don't bother updating the config file if the path hasn't changed.
    omegadrh committed Nov 20, 2015
    Copy the full SHA
    f2bf9cf View commit details
    Browse the repository at this point in the history