Skip to content

Commit

Permalink
Set the public path for users who can’t use public as a directory (sh…
Browse files Browse the repository at this point in the history
…ared hosting)
  • Loading branch information
snipe committed Sep 1, 2016
1 parent b450ef3 commit eee64d5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@

$app = require_once __DIR__.'/../bootstrap/app.php';

// set the public path to this directory
$app->bind('path.public', function() {
return __DIR__;
});

/*
|--------------------------------------------------------------------------
| Run The Application
Expand Down

0 comments on commit eee64d5

Please sign in to comment.