ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/niphet/public_html/wp-content/plugins/deepseek/src/Compatability.php
<?php

namespace AiBuddy;

class Compatability {
	public function check(): void {
		if ( class_exists( 'LiteSpeed\Core' ) ) {
			$this->check_litespeed();
		}
	}

	/**
	 * Checks litespeed compatibility
	 */
	public function check_litespeed(): void {
		// disable caching if enabled
		// todo: add notice instead of silently disabling it
		if ( get_option( 'litespeed.conf.cache-rest' ) ) {
			update_option( 'litespeed.conf.cache-rest', 0 );
		}
	}
}