developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Closed 10 years ago

#1167 closed bug (duplicate)

jFile utilise une fonction obsolète

Reported by: hadrien Owned by:
Priority: normal Milestone:
Component: jelix Version: 1.1.6
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

public static function getMimeType($file){
        return mime_content_type($file);
    }

mais :

mime_content_type — Détecte le type MIME d'un fichier (obsolète)

http://php.net/manual/fr/mime-magic.installation.php

À remplacer par Fileinfo

Change History (1)

comment:1 Changed 10 years ago by Julien

  • Resolution set to duplicate
  • Status changed from new to closed

see #1039

Note: See TracTickets for help on using tickets.