title: laravel doesn't upload images on server
body: <p>I can upload my images while i'm working on local but when I moved my site to host it doesn't upload images while get names of them in database,</p>
  
  <p>my <code>filesystems.php</code></p>
  
  <pre><code>'default' =&gt; env('FILESYSTEM_DRIVER', 'local'),
  disks' =&gt; [
  
          'local' =&gt; [
              'driver' =&gt; 'local',
              'root' =&gt; public_path('images/'),
          ],
  ....
  </code></pre>
  
  <p>sample of my upload codes:</p>
  
  <pre><code>if ($request-&gt;hasFile('imageOne')) {
    $imageOne = $request-&gt;file('imageOne');
    $filename = 'productone' . '-' . time() . '.' . $imageOne-&gt;getClientOriginalExtension();
    $location = public_path('images/');
    $request-&gt;file('imageOne')-&gt;move($location, $filename);
    $product-&gt;imageOne = $filename;
  }
  </code></pre>
  
  <p>Issue:</p>
  
  <blockquote>
    <p>In host i get uploaded <code>image name in database</code>, but no image in my
    <code>public/images</code> folder.</p>
  </blockquote>
  
  <p>any idea?</p>
  
  <h1>UPDATE</h1>
  
  <p>I found interesting folder in my host, as I moved all my <code>public</code> folder files to server <code>public_html</code> now it created another folder in my root called <code>public</code> and inside that has <code>images</code> folder including all images i uploaded so far!</p>
  
  <p><strong>Questions:</strong></p>
  
  <ol>
  <li>Why laravel created new <code>public/images</code> folder in my root instead of
  using my <code>public_html</code>?</li>
  <li>How to fix it?</li>
  </ol>