mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 23:22:11 +00:00
@@ -127,7 +127,7 @@ class InputFile implements IInputItem
|
|||||||
*/
|
*/
|
||||||
public function getExtension()
|
public function getExtension()
|
||||||
{
|
{
|
||||||
return pathinfo($this->getName(), PATHINFO_EXTENSION);
|
return pathinfo($this->getFilename(), PATHINFO_EXTENSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user