Better checks on image type for photos:
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 15 Feb 2007 20:40:58 +0000 (20:40 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 15 Feb 2007 20:40:58 +0000 (20:40 +0000)
commiteef2d586dd32c838eefc5dfe0397c9ac86ebd968
tree39dc199c746eb62042f6896e9f11119f35974e53
parent310d50da4791f9245c9ead606eb5a943b0deb561
Better checks on image type for photos:
-> mime_content_type MUST begin with image/
-> if image processing fails, do not submit the validation

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1502 839d8a87-29fc-0310-9880-83ba4fa771e5
ChangeLog
include/validations/photos.inc.php
modules/profile.php