src/GuillermoMartinez/Filemanager/Filemanager.php
public function validExt($filename){
        $exts = $this->config['ext'];
        $ext = $this->getExtension($filename);
        if(array_search($ext,$exts)===false){
            return false;
        }else{
            return true;
        }


    }
public function validExt($filename){
        $exts = $this->config['ext'];
        $ext = $this->getExtension($filename);
        if(array_search($ext,$exts)===false){
            return false;
        }else{
            return true;
        }


    }
public function validExt ( $ filename ) { $ exts = $ this -> config [ 'ext' ] ; $ ext = $ this -> getExtension ( $ filename ) ; if ( array_search ( $ ext , $ exts ) === false ) { return false ; } else { return true ; } }
Valida extension de archivos
@param string $filename
@return boolean
Valida extension de archivos