Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #12509: Replace file_get_extension with PHP native pathinfo
The file_get_extension function within file_api is unnecessary as PHP's native pathinfo function performs the same role. Tested with UTF8 filenames on PHP 5.3.5 and it can split paths/filenames into their correct components.
- Loading branch information
1 parent
5b0fdc5
commit 0faec07
Showing
1 changed file
with
3 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters