X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/fe6c3d3a27c1d44c185552b2b7c8560bc3cd3bf9..38aa0dc6133ff53d20fd9f714eb380809c8dba67:/src/phorkie/File.php diff --git a/src/phorkie/File.php b/src/phorkie/File.php index dc90d9b..2aa1d19 100644 --- a/src/phorkie/File.php +++ b/src/phorkie/File.php @@ -55,7 +55,7 @@ class File */ public function getExt() { - return substr($this->path, strrpos($this->path, '.') + 1); + return strtolower(substr($this->path, strrpos($this->path, '.') + 1)); } public function getContent()