mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 13:14:07 -08:00
Set the public path for users who can’t use public as a directory (shared hosting)
This commit is contained in:
parent
b450ef3534
commit
eee64d5509
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue