Spaces to tabs

This commit is contained in:
Quentin Ligier 2016-03-17 19:26:50 +01:00
parent 44c54c48f6
commit c50de5350f

View File

@ -11,8 +11,8 @@ function getExtension($filename, $isURI = false) {
$extension = pathinfo($filename, PATHINFO_EXTENSION); $extension = pathinfo($filename, PATHINFO_EXTENSION);
# Special cases # Special cases
if (strpos($extension, ':')!==false) list($extension, ) = explode(':', $extension, 2); if (strpos($extension, ':')!==false) list($extension, ) = explode(':', $extension, 2);
if (empty($extension)===false) $extension = '.' . $extension; if (empty($extension)===false) $extension = '.' . $extension;