Set the public path for users who can’t use public as a directory (shared hosting)

This commit is contained in:
snipe 2016-09-01 12:53:38 -07:00
parent b450ef3534
commit eee64d5509

View file

@ -36,6 +36,11 @@ include '../c3.php';
$app = require_once __DIR__.'/../bootstrap/app.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 | Run The Application