title: Can't redirect laravel to root folder
body: <p>I installed laravel on folder <code>laravel</code> in <code>www</code> and it works fine. I wanted to make it work on <code>root</code>, so I moved all folders except <code>public</code> into <code>www/laravel</code> and <code>public</code> folder content in <code>www</code> and I modified 2 lines in <code>index.php</code> in <code>www</code> to:</p>
  
  <pre><code>require __DIR__.'/../laravel/bootstrap/autoload.php';
  $app = require_once __DIR__.'/../laravel/bootstrap/start.php'; 
  </code></pre>
  
  <p>and in <code>laravel/bootstrap/paths.php</code>, I modified one line to: </p>
  
  <pre><code>'public' =&gt; __DIR__.'/../../public_html'
  </code></pre>
  
  <p>but when I try access localhost, I get this error:</p>
  
  <blockquote>
    <p>( ! ) Warning: require(C:\wamp\www/../laravel/bootstrap/autoload.php):
    failed to open stream: No such file or directory in
    C:\wamp\www\index.php on line 21</p>
    
    <p>( ! ) Fatal error: require(): Failed
    opening required 'C:\wamp\www/../laravel/bootstrap/autoload.php'
    (include_path='.;C:\php\pear') in C:\wamp\www\index.php on line 21</p>
  </blockquote>
  
  <p>How can I fix it?</p>