title: Cannot upload image in Laravel 5.2
body: <p>I make input data with an upload image, my code</p>
  
  <pre><code>$name   = $request-&gt;input('name');
  $images = $request-&gt;file('image');
  $name_img = $images-&gt;getClientOriginalName();
  $ext = $images-&gt;getClientOriginalExtension();
  // Move Uploaded File
  $destinationPath = 'img/';
  $images-&gt;move($destinationPath,$name_img);
  $path = $destinationPath.'/'.$name_img;
  </code></pre>
  
  <p>then put them in array, then insert in database</p>
  
  <pre><code>$data = array(
  'name' =&gt; $name,
  'image' =&gt; $path, );
  DB::table('daftar')-&gt;insert($data);
  return json_encode(array('status' =&gt;true));
  </code></pre>
  
  <p>That code works in Laravel 5.1, but it doesnt work in Laravel 5.2.</p>
  
  <p>Anything wrong with that code for Laravel 5.2?</p>
  
  <p>Thank You. :)</p>