diff --git a/public/index.php b/public/index.php index c2d9ddf004dc..01ea454daa95 100644 --- a/public/index.php +++ b/public/index.php @@ -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