Files
yii2/framework
MarcioCamello 431915c439 mimeTypes Validator is wrong
I'm find error

```php

Wrong
 } elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file->tempName), $this->mimeTypes, true)) {

Correct
} elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file), $this->mimeTypes, true)) {
```

Not need call '$file->tempName' because getMimeType get object $_FILE => $file, so use $file and validator works fine
2014-06-10 16:35:21 -03:00
..
2014-04-03 11:57:49 -04:00
2014-06-10 00:24:26 +02:00
2014-05-28 10:18:35 -04:00
2014-04-22 15:50:32 +02:00
2014-06-09 15:51:50 +02:00
2014-05-02 18:34:13 +03:00
2014-06-10 11:13:56 -03:00
2014-05-17 01:56:33 +03:00
2014-04-07 09:43:03 +04:00
2014-06-10 16:35:21 -03:00
2014-01-10 21:41:43 -05:00
2014-01-10 21:41:43 -05:00
2014-05-23 19:19:17 +02:00
2013-11-02 15:37:25 -04:00
2014-04-16 19:29:07 -03:00
2014-01-10 21:41:43 -05:00
2014-03-20 19:54:52 -04:00

Yii PHP Framework Version 2

This is the core framework code of Yii 2.

Installation

The preferred way to install the Yii framework is through composer.

Either run

php composer.phar require --prefer-dist "yiisoft/yii2 *"

or add

"yiisoft/yii2": "*"

to the require section of your composer.json.