png support: update database.sql, fix some typos, fix tinymce image browser

This commit is contained in:
Fabio Comuni 2012-06-07 20:17:31 +02:00
parent 7cc8c369cb
commit 2438c6e45d
6 changed files with 35 additions and 20 deletions

View file

@ -682,9 +682,9 @@ function photos_post(&$a) {
$filesize = intval($_FILES['userfile']['size']);
$type = $_FILES['userfile']['type'];
}
if ($type=="") $type=guess_image_type($filename);
logger('photos: upload: received file: ' . $filename . ' as ' . $src . ' '. $type . ' ' . $filesize . ' bytes', LOGGER_DEBUG);
logger('photos: upload: received file: ' . $filename . ' as ' . $src . ' ('. $type . ') ' . $filesize . ' bytes', LOGGER_DEBUG);
$maximagesize = get_config('system','maximagesize');