Constant RT_WP_NGINX_HELPER_CACHE_PATH already defined
-
Hi,
I’m setting my custom cache path with:define( 'RT_WP_NGINX_HELPER_CACHE_PATH', 'custom-path' );
But I’m getting:
PHP Notice: Constant RT_WP_NGINX_HELPER_CACHE_PATH already defined
Looking at the plugin code, I see:
if ( ! defined( 'RT_WP_NGINX_HELPER_CACHE_PATH' ) ) { define( 'RT_WP_NGINX_HELPER_CACHE_PATH', '/var/run/nginx-cache' ); }
And I think this is the origin of the problem.
So how I can define a custom cache path since mine is not /var/run/nginx-cache?Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Constant RT_WP_NGINX_HELPER_CACHE_PATH already defined’ is closed to new replies.