[geeklog-cvs] geeklog-1.3/system/classes upload.class.php,1.27,1.28
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Mon Jun 16 06:05:07 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/system/classes
In directory internal.geeklog.net:/tmp/cvs-serv7114
Modified Files:
upload.class.php
Log Message:
Changed error message to include the file name in case the MIME type is okay but the file's extension is not.
Index: upload.class.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/classes/upload.class.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** upload.class.php 23 May 2003 11:43:27 -0000 1.27
--- upload.class.php 16 Jun 2003 10:05:05 -0000 1.28
***************
*** 893,897 ****
}
$this->_addError ('Mime type, ' . $this->_currentFile['type']
! . ', not in list of allowed mime types');
return false;
}
--- 893,898 ----
}
$this->_addError ('Mime type, ' . $this->_currentFile['type']
! . ', or extension of ' . $this->_currentFile['name']
! . ' not in list of allowed types.');
return false;
}
More information about the geeklog-cvs
mailing list