@php try { // Bcmath Extension $storageDefaultSpaceFormatted = isset($settings->default_max_storage_amount) ? format_gigabytes($settings->default_max_storage_amount) : format_gigabytes(5); $uploadLimit = isset($settings->upload_limit) ? format_bytes($settings->upload_limit) : 'undefined'; $chunkSize = isset($settings->chunk_size) ? format_bytes($settings->chunk_size) : format_bytes(64); $uploadLimitFormatted = isset($settings->upload_limit) ? format_megabytes($settings->upload_limit) : null; } catch (MissingExtensionException $exception) { $storageDefaultSpaceFormatted = '5GB'; $uploadLimit = 'undefined'; $uploadLimitFormatted = 5; $chunkSize = 64000000; } try { // User $isUser = auth()->check(); $user = Auth::user(); // Default user settings $defaultEmoji = $isUser ? $user->settings->emoji_type : 'twemoji'; $defaultThemeMode = $isUser ? $user->settings->theme_mode : 'system'; } catch (PDOException $e) { [$isUser, $isEmptyPlans, $isEmptyTransactions, $isEmptySubscriptions] = false; $defaultEmoji = 'twemoji'; $defaultThemeMode = 'system'; } @endphp {{ $settings->app_title ?? 'VueFileManager' }} | {{ $settings->app_description ?? __t('app_description') }} {{--StyleSheet--}} {{--OG items--}} {{-- Apple Mobile Web App--}} {{--Icons--}} {{--Format Detection--}} @include('vuefilemanager.others.color-template')
@if(config('app.env') !== 'local') {{--Application production script--}} {{--Global site tag (gtag.js) - Google Analytics--}} @if(isset($settings->google_analytics) && $settings->google_analytics) @endif @else {{--Application development script--}} @endif