Remove public from URL Laravel 4
By Güngör Budak
- One minute read - 33 wordsMove all content of (files in) public/
folder one level above (to the base)
Fix paths in index.php
:
1require __DIR__.'/bootstrap/autoload.php';
2$app = require_once __DIR__.'/bootstrap/start.php';
Fix path in bootstrap/paths.php
:
1'public' => __DIR__.'/..',
Done