芝麻web文件管理V1.00
编辑当前文件:/home4/randall/public_html/aots.org.py/wp-content/plugins/wp-super-cache/wp-cache-base.php
domain : trim( $current_blog->path, '/' ); } elseif ( ( defined( 'SUBDOMAIN_INSTALL' ) && SUBDOMAIN_INSTALL ) || ( defined( 'VHOST' ) && VHOST === 'yes' ) ) { $blogcacheid = $WPSC_HTTP_HOST; } else { $request_uri = str_replace( '..', '', preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_SERVER['REQUEST_URI'] ) ); $request_uri = str_replace( '//', '/', $request_uri ); $wpsc_path_segs = array_filter( explode( '/', trim( $request_uri, '/' ) ) ); $wpsc_base_count = defined( 'PATH_CURRENT_SITE' ) ? count( array_filter( explode( '/', trim( PATH_CURRENT_SITE, '/' ) ) ) ) : 0; if ( ! str_ends_with( $request_uri, '/' ) ) { $wpsc_path_segs = array_slice( $wpsc_path_segs, 0, -1 ); } if ( count( $wpsc_path_segs ) > $wpsc_base_count && ( ! defined( 'PATH_CURRENT_SITE' ) || str_starts_with( $request_uri, PATH_CURRENT_SITE ) ) ) { $blogcacheid = $wpsc_path_segs[ $wpsc_base_count ]; } } // If blogcacheid is empty then set it to main blog. if ( empty( $blogcacheid ) ) { $blogcacheid = 'blog'; } $blog_cache_dir = str_replace( '//', '/', $cache_path . 'blogs/' . $blogcacheid . '/' ); }