Ticket #1039 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

use FileInfo instead of mime_content_type

Reported by: laurentj Owned by: Julien
Priority: normal Milestone: Jelix 1.2RC1
Component: jelix:forms Version: trunk
Severity: normal Keywords:
Cc: Php version: 5.3
Hosting Provider: Blocked By:
Documentation needed: no Blocking: 463

Description

In jForms, we use mime_content_type which is deprecated in PHP 5.3. we should use FileInfo?.

Change History

Changed 3 years ago by Julien

Maybe we could have a jFile::getMimeType() method as I proposed as a part of the patch for ticket #1005

Changed 3 years ago by Julien

  • owner set to Julien
  • status changed from new to assigned
  • review set to review?

Changed 3 years ago by laurentj

  • review changed from review? to review+
  • milestone changed from Jelix 2.0 to Jelix 1.2

Changed 3 years ago by Julien

waiting for the right to commit this patch (Laurent, check your bitbucket inbox please)

Changed 3 years ago by Julien

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.