Reply to Re: Fileinfo

Re: Fileinfo new!
by colin, 15 years, 5 months ago
Tu peux utiliser la nouvelle version candidate 0.28RC3. Il y a maintenant un paramêtre mime_fileinfo qui permet de désactiver l'utilisation de Fileinfo, ou bien d'expliciter le chemin de la librairie MAGIC. Par exemple:
// let the class sort it out (default)
$handle->mime_fileinfo = true;
// deactivate Fileinfo detection
$handle->mime_fileinfo = false;
// change the MAGIC path
$handle->mime_fileinfo = '/usr/share/file/magic';
// let finfo_open() sort it out
$handle->mime_fileinfo = '';
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important