mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 02:50:39 +00:00
index options added
This commit is contained in:
@@ -29,27 +29,32 @@
|
||||
|
||||
<script>
|
||||
let config = {
|
||||
host: '{{ url('/') }}',
|
||||
api: '{{ url('/api') }}',
|
||||
|
||||
locale: '{{ \Illuminate\Support\Facades\App::getLocale() }}',
|
||||
|
||||
app_name: '{{ isset($settings->app_title) && $settings->app_title ? $settings->app_title : 'VueFileManager' }}',
|
||||
app_description: '{{ isset($settings->app_description) && $settings->app_description ? $settings->app_description : 'Your self-hosted storage cloud software powered by Laravel and Vue' }}',
|
||||
app_footer: '{!! isset($settings->footer_content) && $settings->footer_content ? $settings->footer_content : null !!}',
|
||||
|
||||
app_logo: '{{ isset($settings->app_logo) && $settings->app_logo ? $settings->app_logo : null }}',
|
||||
app_logo_horizontal: '{{ isset($settings->app_logo_horizontal) && $settings->app_logo_horizontal ? $settings->app_logo_horizontal : null }}',
|
||||
|
||||
app_payments_active: {{ isset($settings->payments_active) ? $settings->payments_active : 0 }},
|
||||
|
||||
host: '{{ url('/') }}',
|
||||
api: '{{ url('/api') }}',
|
||||
|
||||
stripe_public_key: '{{ config('cashier.key') ? config('cashier.key') : null }}',
|
||||
|
||||
userRegistration: {{ isset($settings->registration) ? $settings->registration : 1 }},
|
||||
storageLimit: {{ isset($settings->storage_limitation) ? $settings->storage_limitation : 1 }},
|
||||
storageDefaultSpace: '{{ isset($settings->storage_default) ? format_gigabytes($settings->storage_default) : 5 }}',
|
||||
|
||||
hasAuthCookie: {{ Cookie::has('token') ? 1 : 0 }},
|
||||
isSaaS: {{ isset($settings->license) && $settings->license === 'Extended' ? 1 : 0 }},
|
||||
isDemo: {{ env('APP_DEMO') ? 1 : 0 }},
|
||||
|
||||
legal: {!! $legal !!},
|
||||
|
||||
installation: '{{ $installation }}',
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user