X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/fe6c3d3a27c1d44c185552b2b7c8560bc3cd3bf9..0e362c3a8a13e7e2ae7d5c1a5d2e5eaa163d153f:/src/phorkie/File.php?ds=sidebyside 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()