a small record.php bug correction
Posted: Tue Aug 24, 2010 4:09 am
Small correction on record.php
xataface 1.2.4 /dataface/record.php
line 2262
it works better with "$mimetype = finfo_file($res, $path);"
best regards
--
oliv
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