mirror of
https://github.com/friendica/friendica
synced 2025-04-22 08:30:10 +00:00
png support: update database.sql, fix some typos, fix tinymce image browser
This commit is contained in:
parent
7cc8c369cb
commit
2438c6e45d
6 changed files with 35 additions and 20 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue