Made some changes to facilitate moving the public/ folder

This commit is contained in:
Nabeel Shahzad
2017-12-14 10:56:30 -06:00
parent aa95ee3384
commit 710a721305
3 changed files with 11 additions and 42 deletions

View File

@@ -19,6 +19,10 @@ $app = new Illuminate\Foundation\Application(
realpath(__DIR__.'/../')
);
$app->bind('path.public', function () {
return __DIR__.'/../public';
});
#$app->loadEnvironmentFrom('.env.php');
$app->useDatabasePath(realpath(__DIR__.'/../app/Database'));