Dotclear

Ticket #1461 (closed enhancement: fixed)

Opened 12 years ago

Last modified 9 years ago

Don't use file::getExtension() from clearbricks

Reported by: pascalc Owned by: team
Priority: normal Milestone: Clearbricks 1.0
Component: refonte:dev Version: 2.5
Severity: trivial Keywords:
Cc:

Description

file::getExtension() in clearbricks is just reinventing the wheel and reimplementing a native function that exists since PHP4, pathinfo().

Use pathinfo which is faster and built-in (= more reliable)

Change History

comment:1 Changed 12 years ago by JcDenis

Beaucoup d'hébergeurs viraient cette fonction, d’où le pourquoi du comment.

comment:2 Changed 12 years ago by franck

  • Owner changed from team to pascalc
  • Milestone changed from A definir to 2.6

comment:3 Changed 12 years ago by franck

  • Milestone changed from 2.6 to 2.7

comment:4 Changed 12 years ago by franck

  • Owner changed from pascalc to team

comment:5 Changed 12 years ago by franck

  • Milestone changed from 2.7 to 2.8

comment:6 Changed 11 years ago by franck

  • Milestone changed from 2.8 to 2.10

comment:7 Changed 9 years ago by franck

  • Milestone changed from 2.10 to Clearbricks 1.0

comment:8 Changed 9 years ago by franck

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

Sites map