";
$finfo = new finfo(FILEINFO_MIME, $magic);
$mime = $finfo->file(dirname( __FILE__ ) . '/../../htdoc/img/px.gif');
echo "mime $mime
";
*/
include dirname( __FILE__ ) . '/../../../wbLoader.php';
$file = WBClass::create('WBFile');
/** @var $file WBFile */
echo '
' . var_export($file, true) . "\n"; $mime = $file->getMimeType('/htdoc/img/px.gif'); echo '
' . var_export($mime, true) . "\n"; ?>