xataface 1.2.4 /dataface/record.php
line 2262
- Code: Select all
if(extension_loaded('fileinfo')) {
$res = finfo_open(FILEINFO_MIME); /* return mime type ala mimetype extension */
$mimetype = finfo_file($path);
it works better with "$mimetype = finfo_file($res, $path);"
- Code: Select all
if(extension_loaded('fileinfo')) {
$res = finfo_open(FILEINFO_MIME); /* return mime type ala mimetype extension */
$mimetype = finfo_file($res, $path);
best regards
--
oliv