From 2438c6e45d47ca194b51f99ddf113112fbb6ccb9 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 7 Jun 2012 20:17:31 +0200 Subject: png support: update database.sql, fix some typos, fix tinymce image browser --- mod/wall_upload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/wall_upload.php') diff --git a/mod/wall_upload.php b/mod/wall_upload.php index 20666e0ef..4b81f8d1c 100644 --- a/mod/wall_upload.php +++ b/mod/wall_upload.php @@ -69,7 +69,8 @@ function wall_upload_post(&$a) { $filesize = intval($_FILES['media']['size']); $filetype = $_FILES['media']['type']; } - + + if ($filetype=="") $filetype=guess_image_type($filename); $maximagesize = get_config('system','maximagesize'); if(($maximagesize) && ($filesize > $maximagesize)) { -- cgit v1.2.3