$this->mimetype = $y->fromFilename($filename);
}
- $this->mimetype= strtolower($this->mimetype);
+ $this->mimetype = strtolower($this->mimetype);
- $mta = explode('/', $this->mimetype)
+ $mta = explode('/', $this->mimetype);
if (array_shift($mta) == 'image') {
$imgs = @getimagesize($file);