HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: agritoday (1002)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/agritoday/www/wp-content/plugins-x/w3-total-cache/Cdnfsd_Util.php
<?php
namespace W3TC;



class Cdnfsd_Util {
	static public function engine_name( $engine ) {
		return $engine;
	}



	static public 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 ( substr( $ip, 0, 4 ) == '127.' ||
			substr( $ip, 0, 3 ) == '10.' ||
			substr( $ip, 0, 8 ) == '192.168.' )
			return '';

		return $ip;
	}
}