diff --git a/Files/opcache_clear.php b/Files/opcache_clear.php
index 6db2eff..d5915d6 100644
--- a/Files/opcache_clear.php
+++ b/Files/opcache_clear.php
@@ -43,6 +43,8 @@ if (isset($_GET['logout'])) {
h1 { font-size: 1.4em; }
input[type="text"], input[type="password"] { width: 100%; padding: 0.5em; margin-top: 0.3em; }
input[type="submit"] { padding: 0.6em 1.2em; margin-top: 1em; }
+ .button-block { margin-bottom: 1em; }
+ .separator { border-top: 1px solid #ccc; margin: 1.5em 0; }
.status { margin-top: 1em; padding: 1em; background: #eef; border-left: 4px solid #99f; }
.error { color: red; }
.logout { float: right; }
@@ -63,10 +65,6 @@ if (isset($_GET['logout'])) {
Abmelden
OPCache-Verwaltung
-
-
";
+
+ // Zeige Button nur wenn aktiv
+ echo '
';
+
if (isset($_POST['clear'])) {
+ echo '
';
if (opcache_reset()) {
echo "✅ OPCache wurde erfolgreich geleert.";
} else {
diff --git a/Files/opcache_clear.php.00 b/Files/opcache_clear.php.00
new file mode 100644
index 0000000..6db2eff
--- /dev/null
+++ b/Files/opcache_clear.php.00
@@ -0,0 +1,94 @@
+
+
+
+
+
+
OPCache-Verwaltung
+
+
+
+
+
+
Login zur OPCache-Verwaltung
+
= htmlspecialchars($error) ?>
+
+
+
+
OPCache-Verwaltung
+
+
+
+ ";
+ if (isset($_POST['clear'])) {
+ if (opcache_reset()) {
+ echo "✅ OPCache wurde erfolgreich geleert.";
+ } else {
+ echo "⚠️ Fehler beim Leeren des OPCache.";
+ }
+ }
+ }
+ } else {
+ echo "❌ OPCache ist auf diesem Server nicht verfügbar.";
+ }
+ ?>
+
+
+
+
+