nextcloud/lib
Morris Jobke 9ca848c317
Opening the trashbin causes errors in log for files without preview
* put a file without a generated preview in the trashbin
  (e.g. a *.docx file)
* open the trashbin
* following errors will show up in the nextcloud.log:
	- filesize(): stat failed for ...
	- fopen(...): failed to open stream: No such file or directory at ...
	- fread() expects parameter 1 to be resource, boolean given at ...
	- fclose() expects parameter 1 to be resource, boolean given at ...
	- imagecreatefromstring(): Empty string or invalid image at ...

This is because the preview code tries to load an SVG image, which
is obviously only text.

The fix simply handles this before the loading happens and the web UI
keeps showing the default mimetype icon.
2016-09-13 20:18:09 +02:00
..
composer Opening the trashbin causes errors in log for files without preview 2016-09-13 20:18:09 +02:00
l10n [tx-robot] updated from transifex 2016-09-13 00:11:26 +00:00
private Opening the trashbin causes errors in log for files without preview 2016-09-13 20:18:09 +02:00
public Validate the operation 2016-08-22 09:03:47 +02:00
autoloader.php Run the license script 2016-07-22 11:40:41 +02:00
base.php Add exemptions for incompatible UAs 2016-09-08 21:06:57 +02:00