[Plugin: WP Super Cache] advanced-cache.php absolute paths
-
I noticed that the advanced-cache.php file uses an absolute path in the include function parameter, e.g.
if ( !include_once( '/var/www/wp-content/plugins/wp-super-cache/' . 'wp-cache-phase1.php' ) ) {
This adversely affects the portability of the WordPress installation, e.g. if the document root changes, the site won’t work. Is it possible to change this to a relative path so that it is more portable?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP Super Cache] advanced-cache.php absolute paths’ is closed to new replies.