yoda style all the way
parent
0d033c11da
commit
89418701ed
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue