lundi 19 décembre 2016

moving laravel public folder gives ' looks like something went wrong '

it worked fine when the file structure was:

/bin
....
....
/public_ftp
/public_html/app
/public_html/bootstrap
...
/public_html/public
....
....
/www

but when i changed it to:

/bin
/laravel/app
/laravel/bootstrap
....
....
/public_ftp
...
/public_html/css
/public_html/js
/public_html/index.php
....
....
/www

and i also changed index.php to:

$app = require_once __DIR__.'/../laravel/bootstrap/app.php';
require __DIR__.'/../laravel/bootstrap/autoload.php';

but when i opened index.php it shows

Whoops, looks like something went wrong.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire