ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF  x x ?? C         ?? C   ?à   " ??     ?? μ  } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú??     ?? μ   w !1AQ aq"2?B‘?±á #3Rebr?{ gilour

File "spai.php"

Full Path: /home/zcziejy/ryadselyen/plugins/shortpixel-image-optimiser/class/external/spai.php
File size: 1016 B
MIME-type: text/x-php
Charset: utf-8

<?php
namespace ShortPixel;

if ( ! defined( 'ABSPATH' ) ) {
 exit; // Exit if accessed directly.
}

use ShortPixel\ShortPixelLogger\ShortPixelLogger as Log;

class Spai
{
		public function __construct()
		{
			 add_action('plugins_loaded', array($this, 'addHooks'));

		}

		public function addHooks()
		{
			  if (\wpSPIO()->env()->plugin_active('spai'))
				{
					 // Prevent SPAI doing its stuff to our JSON returns.
					 $hook_upon = array('shortpixel_image_processing', 'shortpixel_ajaxRequest');
					 if (wp_doing_ajax() &&
					 			// phpcs:ignore WordPress.Security.NonceVerification.Recommended  -- This is not a form
					 		 isset($_REQUEST['action']) &&
							 // phpcs:ignore WordPress.Security.NonceVerification.Recommended  -- This is not a form
							 in_array($_REQUEST['action'], $hook_upon)			 )
					 {
						 	$this->preventCache();
					 }
				}
		}

		public function preventCache()
		{
			  if (! defined('DONOTCDN'))
				{
					 define('DONOTCDN', true);
				}
		}
}

$s = new Spai();