diff --git a/encoder/app.php b/encoder/app.php index fd19ee2..25a39ab 100644 --- a/encoder/app.php +++ b/encoder/app.php @@ -30,7 +30,9 @@ if (isset($_POST['submit'])) { unlink($path); // Also remove from encoder directory $secondary_path = $secondary_dir . basename($path); - if (file_exists($secondary_path)) unlink($payload_path = $secondary_path); + if (file_exists($secondary_path)) { + unlink($secondary_path); + } } } } @@ -140,10 +142,36 @@ include 'header.php'; ?> @@ -202,6 +230,8 @@ include 'header.php';
-
+
+
-
+
+