HEX
Server: LiteSpeed
System: Linux spg20.cloudpowerdns.com 5.14.0-611.35.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 25 03:46:09 EST 2026 x86_64
User: carrerup (3153)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/carrerup/.trash/mu-plugins.1/wp-stack-cache.php
<?php

/**
 * Plugin Name:       StackCache
 * Plugin URI:        http://cache.stackcp.com/
 * Description:       Wrapper to include the Stack Cache Plugin Library 
 * Author:            Stack CP
 */

// If this file is called directly, abort.
if ( ! defined( "WPINC" ) ) die;

// Load and include
$file_suffix = "/wp-admin/includes/file.php";
$count = 0;
while ( true ) {
        $path = str_repeat("../", $count) . $file_suffix;
        $full_path = plugin_dir_path(__FILE__) . $path;
        if ( file_exists($full_path) ) {
                require_once($full_path);
                define( 'PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
                break;
        }
        if ( $count++ > 5 ) {
                print("Failed to find 'wp-admin/includes/file.php'");
                exit(1);
        }
}

// Run
require "/usr/share/php/wp-stack-cache.php";
$wpsc = new WPStackCache();