title: Response::download not working after transfer site to another server laravel 5.2
body: <p>after transfer site to new server </p>
  
  <pre><code>public function download($filename)
      {
        $file= base_path(). "/uploads/pagefiles/$filename/".$filename;
          $headers = array(
                    'Content-Type: application/pdf',
                  );
  
          return Response::download($file, "$filename", $headers);
      }
  </code></pre>
  
  <p>new server use PHP5.5<br>while the oldest one use PHP7<br>
  the file download if i put the link directly in browsers </p>