HEX
Server: LiteSpeed
System: Linux server44.twelveinks.com 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: moda (1338)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /python/moda/public_html/tech/old/theme/wp-content/plugins/whmpress/includes/top-cache.php
<?php
$url = 'http://zain.whmpress.com/dev/index.php/price-matrix';
$break = Explode('/', $url);
$file = $break[count($break) - 1];
$cachefile = WHMP_PLUGIN_DIR.'/includes/cache/cached-'.$file.'.html';
//$cachetime = 18000;

// Serve from the cache if it is younger than $cachetime
if (file_exists($cachefile)) {
    echo "<!-- Cached copy, generated ".date('H:i', filemtime($cachefile))." -->\n";
    readfile($cachefile);
    exit;
}
ob_start(); // Start the output buffer