laravel/laravel — Issue #223: Image validation not working
Author: codler
Created: 2012-01-02 18:19:48+00:00
State: open

I have this code

$rules = array(
'image' => 'image|max:10000',
);
$validator = Validator::make(Input::all(), $rules);
$validator->valid();

and I get this error

Unhandled Exception

Message:

Call to undefined function Laravel\finfo_file()
Location:

F:\...\laravel\file.php on line 186
Stack Trace:

#0 [internal function]: Laravel\{closure}()
#1 {main}