HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/plugins/sg-cachepress/templates/advanced-cache.tpl
<?php

$files = array(
	'/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php',
	'/plugins/sg-cachepress/core/File_Cacher/Cache.php',
);


$config_path = WP_CONTENT_DIR . '/sgo-config.php';

foreach ( $files as $filename ) {
	$path = WP_CONTENT_DIR . $filename;

	if ( ! file_exists( $path ) ) {
		return;
	}

	include_once( $path );
}

use SiteGround_Optimizer\Helper\File_Cacher_Trait;
use SiteGround_Optimizer\File_Cacher\Cache;

$cache = new Cache( $config_path );
$cache->get_cache();