Added singleton

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-05-17 07:01:12 -07:00
parent 75acb0f28a
commit ebd3c11129

View file

@ -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/';
}); });