| Server IP : 150.230.34.123 / Your IP : 216.73.217.23 Web Server : LiteSpeed System : Linux amd-instance-20210802-1657 5.15.0-1042-oracle #48~20.04.1-Ubuntu SMP Mon Aug 21 18:27:46 UTC 2023 x86_64 User : ubuntu ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/lsws/aloysius/html/wp-content/plugins/host-analyticsjs-local/ |
Upload File : |
<?php
/**
* Plugin Name: CAOS
* Plugin URI: https://daan.dev/wordpress/caos/
* Description: Completely optimize Google Analytics 4 for your WordPress Website - host gtag.js locally or use Minimal Analytics, bypass Ad Blockers in Stealth Mode, and much more!
* Version: 4.7.10
* Author: Daan from Daan.dev
* Author URI: https://daan.dev/
* License: GPL2v2 or later
* Text Domain: host-analyticsjs-local
*/
defined( 'ABSPATH' ) || exit;
define( 'CAOS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'CAOS_PLUGIN_FILE', __FILE__ );
define( 'CAOS_PLUGIN_BASENAME', plugin_basename( CAOS_PLUGIN_FILE ) );
define( 'CAOS_STATIC_VERSION', '4.7.3' );
define( 'CAOS_DB_VERSION', '4.7.3' );
/**
* Takes care of loading classes on demand.
*
* @param $class
*
* @return mixed|void
*/
function caos_autoload( $class ) {
$path = explode( '_', $class );
if ( $path[0] != 'CAOS' ) {
return;
}
if ( ! class_exists( 'FFWP_Autoloader' ) ) {
require_once CAOS_PLUGIN_DIR . 'ffwp-autoload.php';
}
$autoload = new FFWP_Autoloader( $class );
return include CAOS_PLUGIN_DIR . 'includes/' . $autoload->load();
}
spl_autoload_register( 'caos_autoload' );
/**
* All systems GO!!!
*
* @return CAOS
*/
function caos_init() {
static $caos = null;
if ( $caos === null ) {
$caos = new CAOS();
}
return $caos;
}
caos_init();