File: /home/dnlightw-124/dn.lightweb.kr/config/platform.php
<?php
return [
'domain' => env('SETTINGS_DOMAIN'),
'prefix' => env('SETTINGS_PATH', '/settings'),
'middleware' => [
'public' => ['web','universal','tenancy', 'cache.headers:private;must_revalidate;etag'],
'private' => ['web','universal','platform','tenancy', 'cache.headers:private;must_revalidate;etag'],
],
'guard' => env('SETTINGS_GUARD', 'web'),
'auth' => true,
'index' => 'settings.main',
'profile' => 'settings.profile',
'resource' => [
'stylesheets' => [],
'scripts' => [],
],
// ------------------------------------------------------------
// 만약 여기에 바이트자산을 추가한다면, php artisan cms:build-theme-scripts 커맨드를 한번 더 호출 해야합니다.
// ------------------------------------------------------------
'vite' => [
'app/Settings/resources/css/settings.css',
'app/Settings/resources/js/settings.js',
],
'template' => [
'header' => 'settings::layouts.header',
'footer' => 'settings::layouts.footer',
],
'attachment' => [
'disk' => env('PLATFORM_FILESYSTEM_DISK', 'public'),
'generator' => \Orchid\Attachment\Engines\Generator::class,
],
'icons' => [
'bs' => \Orchid\Support\BootstrapIconsPath::getFolder(),
],
'notifications' => [
'enabled' => true,
'interval' => 60,
],
'search' => [
\App\Settings\Entities\User\User::class
],
/*
|--------------------------------------------------------------------------
| Hotwire Turbo
|--------------------------------------------------------------------------
|
| Turbo Drive maintains a cache of recently visited pages.
| This cache serves two purposes: to display pages without accessing
| the network during restoration visits, and to improve perceived
| performance by showing temporary previews during application visits.
|
*/
'turbo' => [
'cache' => true,
],
/*
|--------------------------------------------------------------------------
| Fallback Page
|--------------------------------------------------------------------------
|
| If the request does not match any route and arguments,
| Orchid will automatically generate its own 404 page.
| It can be disabled if you want to declare routes on the same
| domain and prefix or create your own page.
|
*/
'fallback' => false,
/*
|--------------------------------------------------------------------------
| Workspace
|--------------------------------------------------------------------------
|
| The workspace option sets the template that wraps the content of the screens.
| It determines whether the entire user screen will be used or whether
| the content will be compressed to a fixed width.
|
| Options: 'platform::workspace.compact', 'platform::workspace.full'
|
*/
'workspace' => 'platform::workspace.full',
/*
|--------------------------------------------------------------------------
| Prevents Abandonment
|--------------------------------------------------------------------------
|
| This option determines whether the Prevents Abandonment feature is enabled
| or disabled for the application.
|
*/
'prevents_abandonment' => true,
'provider' => \App\Providers\SettingsServiceProvider::class,
];