mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -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