mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 01:18:46 +00:00
Fix #190
This commit is contained in:
parent
147fa8f403
commit
8a1a88d48c
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