From: <on...@us...> - 2002-09-20 17:11:44
|
Update of /cvsroot/xoops/xoops-current/html/class In directory usw-pr-cvs1:/tmp/cvs-serv22033 Modified Files: upload.class.php Log Message: no message Index: upload.class.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/class/upload.class.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** upload.class.php 22 Jul 2002 05:26:30 -0000 1.2 --- upload.class.php 20 Sep 2002 17:11:41 -0000 1.3 *************** *** 538,542 **** if (!$this->uploadFail) { ! if (ereg("image",$this->HTTP_POST_FILES[$this->uploadFieldName]['type'])) { $this->imageSizeOk = $this->checkImageSize(); } else { --- 538,542 ---- if (!$this->uploadFail) { ! if (preg_match("/image/",$this->HTTP_POST_FILES[$this->uploadFieldName]['type'])) { $this->imageSizeOk = $this->checkImageSize(); } else { |