Laravel 5 changing the public folder to public_html
I have my public directory named public_html instead of public. So where do I change this setting?
So how do I tell Laravel 5 to use public_html?
YOpen index.php (in your public directory) and add this:
$app = require_once __DIR__.’/../bootstrap/app.php’;
// set the public path to this directory
$app->bind('path.public', function() {
return __DIR__;
});
*************************
The simple guide to deploy Laravel 5 application on shared hosting : https://medium.com/laravel-news/the-simple-guide-to-deploy-laravel-5-application-on-shared-hosting-1a8d0aee923e#.wpfah3bz0