Spaces to tabs
This commit is contained in:
parent
44c54c48f6
commit
c50de5350f
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user