HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/ippmt.kauko.lt/wp-content/plugins/host-analyticsjs-local/includes/class-compatibility.php
<?php
/* * * * * * * * * * * * * * * * * * * *
 *  ██████╗ █████╗  ██████╗ ███████╗
 * ██╔════╝██╔══██╗██╔═══██╗██╔════╝
 * ██║     ███████║██║   ██║███████╗
 * ██║     ██╔══██║██║   ██║╚════██║
 * ╚██████╗██║  ██║╚██████╔╝███████║
 *  ╚═════╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝
 *
 * @author   : Daan van den Bergh
 * @url      : https://daan.dev/wordpress/caos/
 * @copyright: © 2021 - 2024 Daan van den Bergh
 * @license  : GPL2v2 or later
 * * * * * * * * * * * * * * * * * * * */

class CAOS_Compatibility {
	/**
	 * Build class.
	 */
	public function __construct() {
		$this->init();
	}

	/**
	 * Trigger compatibility fixes.
	 *
	 * @return void
	 */
	private function init() {
		if ( defined( 'AUTOPTIMIZE_PLUGIN_VERSION' ) ) {
			new CAOS_Compatibility_Autoptimize();
		}

		/**
		 * Always run Cloudflare compatibility, because it shouldn't do any harm.
		 *
		 * Allow disabling by a filter.
		 *
		 * @filter caos_cloudflare_compatibility
		 */
		if ( apply_filters( 'caos_cloudflare_compatibility', true ) ) {
			new CAOS_Compatibility_Cloudflare();
		}

		if ( defined( 'LSCWP_V' ) ) {
			new CAOS_Compatibility_Litespeed();
		}

		if ( defined( 'WPFC_MAIN_PATH' ) ) {
			new CAOS_Compatibility_WpFastestCache();
		}

		if ( defined( 'WP_ROCKET_VERSION' ) ) {
			new CAOS_Compatibility_WpRocket();
		}
	}
}