mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
Restricted to upload only pdf files
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
@@ -129,7 +129,7 @@ class requestAnrechnung extends Auth_Controller
|
||||
'insertvon' => $this->_uid
|
||||
);
|
||||
|
||||
if(isError($uploaddata = $this->dmslib->upload($dms, array('jpg', 'pdf'))))
|
||||
if(isError($uploaddata = $this->dmslib->upload($dms, array('pdf'))))
|
||||
{
|
||||
show_error(getError($uploaddata));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user