Uname: Linux webm001.cluster110.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.3.33 [ PHP INFO ] PHP os: Linux
Server Ip: 213.186.33.19
Your Ip: 216.73.216.124
User: creationoo (224166) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : wp-cache-base.php
<?php
if ( false == isset( $_SERVER['HTTP_HOST'] ) ) {
	$cache_enabled  = false;
	$WPSC_HTTP_HOST = '';
} else {
	$WPSC_HTTP_HOST = htmlentities( $_SERVER['HTTP_HOST'] );
}

// We want to be able to identify each blog in a WordPress MU install
$blogcacheid = '';
if ( ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) || defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) ) {
	$blogcacheid = 'blog'; // main blog
	if ( defined( 'SUBDOMAIN_INSTALL' ) && constant( 'SUBDOMAIN_INSTALL' ) == true ) {
		$blogcacheid = $WPSC_HTTP_HOST;
	} else {
		if ( isset( $base ) == false ) {
			$base = '';
		}
		$request_uri = str_replace( '..', '', preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_SERVER['REQUEST_URI'] ) );
		if ( strpos( $request_uri, '/', 1 ) ) {
			if ( $base == '/' ) {
				$blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
			} else {
				$blogcacheid = str_replace( $base, '', $request_uri );
				if ( $blogcacheid != '' ) {
					$blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
				}
			}
			if ( '/' == substr( $blogcacheid, -1 ) ) {
				$blogcacheid = substr( $blogcacheid, 0, -1 );
			}
		}
		$blogcacheid = str_replace( '/', '', $blogcacheid );
	}
}
© 2026 MAINHACK