[REQUEST] set WPCACHEHOME using constants
-
Current version sets absolute path in wp-config.php.
Example:
define( 'WPCACHEHOME', '/usr/share/nginx/www/site/wp-content/plugins/wp-super-cache/' );Why not use wordpress’ constant WP_PLUGIN_DIR:
define( 'WPCACHEHOME', WP_PLUGIN_DIR.'/wp-super-cache/' );I had to move servers and ran into problems because the new path didn’t match the old one.
cheers
The topic ‘[REQUEST] set WPCACHEHOME using constants’ is closed to new replies.