@@ 30-33 (lines=4) @@ | ||
27 | if ( getenv('CUSTOM_CONSTANTS' ) ) { |
|
28 | define( 'AUTOPTIMIZE_CACHE_CHILD_DIR', '/c/ao/' ); |
|
29 | $pathname = WP_CONTENT_DIR . AUTOPTIMIZE_CACHE_CHILD_DIR; |
|
30 | if ( is_multisite() && apply_filters( 'autoptimize_separate_blog_caches', true ) ) { |
|
31 | $blog_id = get_current_blog_id(); |
|
32 | $pathname .= $blog_id . '/'; |
|
33 | } |
|
34 | define( 'AUTOPTIMIZE_CACHE_DIR', $pathname ); |
|
35 | ||
36 | $custom_site_url = 'http://localhost/wordpress'; |
@@ 356-359 (lines=4) @@ | ||
353 | { |
|
354 | $pathname = self::get_pathname_base(); |
|
355 | ||
356 | if ( is_multisite() && apply_filters( 'autoptimize_separate_blog_caches', true ) ) { |
|
357 | $blog_id = get_current_blog_id(); |
|
358 | $pathname .= $blog_id . '/'; |
|
359 | } |
|
360 | ||
361 | return $pathname; |
|
362 | } |