File::isAllowed()
\nn\t3::File()->isAllowed($filename = NULL);
Gibt an, ob der Dateityp erlaubt ist
\nn\t3::File()->isForbidden('bild.jpg'); => gibt 'true' zurück
\nn\t3::File()->isForbidden('hack.php'); => gibt 'false' zurück
Copied!
| @return boolean
Source Code
public function isAllowed($filename = null)
{
return !$this->isForbidden($filename);
}
Copied!