mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added singleton
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
75acb0f28a
commit
ebd3c11129
|
@ -36,6 +36,11 @@ class SettingsServiceProvider extends ServiceProvider
|
||||||
|
|
||||||
// Model paths and URLs
|
// Model paths and URLs
|
||||||
|
|
||||||
|
|
||||||
|
\App::singleton('eula_pdf_path', function () {
|
||||||
|
return 'eula_pdf_path/';
|
||||||
|
});
|
||||||
|
|
||||||
\App::singleton('assets_upload_path', function () {
|
\App::singleton('assets_upload_path', function () {
|
||||||
return 'assets/';
|
return 'assets/';
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue