Work-around libmagic failing for 1-byte files
authorAlexander Ebert <ebert@woltlab.com>
Tue, 2 Jan 2018 12:59:31 +0000 (13:59 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 2 Jan 2018 12:59:31 +0000 (13:59 +0100)
commit07673afaf082ab28d8be4db5cb64fcda457e1562
tree3586b0633dac7be7eceaa85f256279ccfb36861c
parent9f5e1594384d97300e1f18b3ea131ec15f9b0cf8
Work-around libmagic failing for 1-byte files

Causes the error message "finfo::file(): Failed identify data 0:(null)"
in older libmagic/PHP versions, mostly in the ancient PHP 5.x tree.
wcfsetup/install/files/lib/util/FileUtil.class.php