yoda style all the way

master
Dirk Heilig 2024-04-20 17:25:50 +02:00
parent 0d033c11da
commit 89418701ed
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
<?php
phpinfo();
exit;
if($_SERVER['REQUEST_METHOD'] === 'POST') {
$tags = explode("\n", $_POST['tags']);
$tags = array_map('trim', $tags);
@ -38,7 +40,7 @@ if(isset($_GET['jobid'])){
if(false === $myPositionInQueue) {
if(isset($_GET['download']) && $_GET['download'] == '1'){
if(isset($_GET['download']) && '1' == $_GET['download']){
$dlDir=__DIR__.'/../html/dl';
$dlDir=realpath($dlDir);
$zipFile=$dlDir.'/'.$jobId.'.zip';