diff --git a/public/index.php b/public/index.php index c2d9ddf00..01ea454da 100644 --- a/public/index.php +++ b/public/index.php @@ -36,6 +36,11 @@ include '../c3.php'; $app = require_once __DIR__.'/../bootstrap/app.php'; +// set the public path to this directory +$app->bind('path.public', function() { + return __DIR__; +}); + /* |-------------------------------------------------------------------------- | Run The Application