mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Fix #190
This commit is contained in:
parent
2f4d30dc1b
commit
cad8ea9592
2 changed files with 10 additions and 2 deletions
|
@ -28,7 +28,13 @@ session_start();
|
|||
|
||||
$fileParts = pathinfo($_FILES['Filedata']['name']);
|
||||
Ticket::add_Attachment($_GET['id'],$_FILES['Filedata']['name'],$_SESSION['id'],$tempFile);
|
||||
echo "Uploaded :".$_FILES['Filedata']['name'];
|
||||
} else {
|
||||
echo "Upload Failed!";
|
||||
}
|
||||
echo "Upload Failed!";
|
||||
}
|
||||
echo "Upload Failed!";
|
||||
}
|
||||
echo "Upload Failed!";
|
||||
?>
|
||||
|
|
|
@ -141,12 +141,14 @@
|
|||
'multi' : true,
|
||||
'method' : 'post',
|
||||
'swf': 'misc/uploadify.swf',
|
||||
'uploader': 'func/upload.php?id='+{/literal}{$ticket_id}{literal}
|
||||
'displayData': 'percentage',
|
||||
'uploader': 'func/upload.php?id='+{/literal}{$ticket_id}{literal},
|
||||
'removeCompleted' : false
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="filesUploaded"></div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
|
|
Loading…
Reference in a new issue