Ticket #1461 (closed enhancement: fixed)
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
Note: See
TracTickets for help on using
tickets.
Beaucoup d'hébergeurs viraient cette fonction, d’où le pourquoi du comment.