clara_old/config/settings.php

311 lines
11 KiB
PHP
Raw Permalink Normal View History

2023-07-03 07:33:24 +00:00
<?php
use App\Core\Bootstrap\BootstrapAuth;
use App\Core\Bootstrap\BootstrapDefault;
use App\Core\Bootstrap\BootstrapSystem;
return [
'KT_THEME_BOOTSTRAP' => [
'default' => BootstrapDefault::class,
'auth' => BootstrapAuth::class,
'system' => BootstrapSystem::class,
],
'KT_THEME' => 'metronic',
# Theme layout templates directory
'KT_THEME_LAYOUT_DIR' => 'layout',
# Theme Mode
# Value: light | dark | system
'KT_THEME_MODE_DEFAULT' => 'light',
'KT_THEME_MODE_SWITCH_ENABLED' => true,
# Theme Direction
# Value: ltr | rtl
'KT_THEME_DIRECTION' => 'ltr',
# Keenicons
# Value: duotone | outline | bold
'KT_THEME_ICONS' => 'duotone',
# Theme Assets
'KT_THEME_ASSETS' => [
'favicon' => 'assets/media/logos/favicon.ico',
'fonts' => [
'https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700',
],
'global' => [
'css' => [
'assets/plugins/global/plugins.bundle.css',
'assets/css/style.bundle.css',
],
'js' => [
'assets/plugins/global/plugins.bundle.js',
'assets/js/scripts.bundle.js',
'assets/js/widgets.bundle.js',
],
],
],
# Theme Vendors
'KT_THEME_VENDORS' => [
'datatables' => [
'css' => [
'assets/plugins/custom/datatables/datatables.bundle.css',
],
'js' => [
'assets/plugins/custom/datatables/datatables.bundle.js',
],
],
'formrepeater' => [
'js' => [
'assets/plugins/custom/formrepeater/formrepeater.bundle.js',
],
],
'fullcalendar' => [
'css' => [
'assets/plugins/custom/fullcalendar/fullcalendar.bundle.css',
],
'js' => [
'assets/plugins/custom/fullcalendar/fullcalendar.bundle.js',
],
],
'flotcharts' => [
'js' => [
'assets/plugins/custom/flotcharts/flotcharts.bundle.js',
],
],
'google-jsapi' => [
'js' => [
'//www.google.com/jsapi',
],
],
'tinymce' => [
'js' => [
'assets/plugins/custom/tinymce/tinymce.bundle.js',
],
],
'ckeditor-classic' => [
'js' => [
'assets/plugins/custom/ckeditor/ckeditor-classic.bundle.js',
],
],
'ckeditor-inline' => [
'js' => [
'assets/plugins/custom/ckeditor/ckeditor-inline.bundle.js',
],
],
'ckeditor-balloon' => [
'js' => [
'assets/plugins/custom/ckeditor/ckeditor-balloon.bundle.js',
],
],
'ckeditor-balloon-block' => [
'js' => [
'assets/plugins/custom/ckeditor/ckeditor-balloon-block.bundle.js',
],
],
'ckeditor-document' => [
'js' => [
'assets/plugins/custom/ckeditor/ckeditor-document.bundle.js',
],
],
'draggable' => [
'js' => [
'assets/plugins/custom/draggable/draggable.bundle.js',
],
],
'fslightbox' => [
'js' => [
'assets/plugins/custom/fslightbox/fslightbox.bundle.js',
],
],
'jkanban' => [
'css' => [
'assets/plugins/custom/jkanban/jkanban.bundle.css',
],
'js' => [
'assets/plugins/custom/jkanban/jkanban.bundle.js',
],
],
'typedjs' => [
'js' => [
'assets/plugins/custom/typedjs/typedjs.bundle.js',
],
],
'cookiealert' => [
'css' => [
'assets/plugins/custom/cookiealert/cookiealert.bundle.css',
],
'js' => [
'assets/plugins/custom/cookiealert/cookiealert.bundle.js',
],
],
'cropper' => [
'css' => [
'assets/plugins/custom/cropper/cropper.bundle.css',
],
'js' => [
'assets/plugins/custom/cropper/cropper.bundle.js',
],
],
'vis-timeline' => [
'css' => [
'assets/plugins/custom/vis-timeline/vis-timeline.bundle.css',
],
'js' => [
'assets/plugins/custom/vis-timeline/vis-timeline.bundle.js',
],
],
'jstree' => [
'css' => [
'assets/plugins/custom/jstree/jstree.bundle.css',
],
'js' => [
'assets/plugins/custom/jstree/jstree.bundle.js',
],
],
'prismjs' => [
'css' => [
'assets/plugins/custom/prismjs/prismjs.bundle.css',
],
'js' => [
'assets/plugins/custom/prismjs/prismjs.bundle.js',
],
],
'leaflet' => [
'css' => [
'assets/plugins/custom/leaflet/leaflet.bundle.css',
],
'js' => [
'assets/plugins/custom/leaflet/leaflet.bundle.js',
],
],
'amcharts' => [
'js' => [
'https://cdn.amcharts.com/lib/5/index.js',
'https://cdn.amcharts.com/lib/5/xy.js',
'https://cdn.amcharts.com/lib/5/percent.js',
'https://cdn.amcharts.com/lib/5/radar.js',
'https://cdn.amcharts.com/lib/5/themes/Animated.js',
],
],
'amcharts-maps' => [
'js' => [
'https://cdn.amcharts.com/lib/5/index.js',
'https://cdn.amcharts.com/lib/5/map.js',
'https://cdn.amcharts.com/lib/5/geodata/worldLow.js',
'https://cdn.amcharts.com/lib/5/geodata/continentsLow.js',
'https://cdn.amcharts.com/lib/5/geodata/usaLow.js',
'https://cdn.amcharts.com/lib/5/geodata/worldTimeZonesLow.js',
'https://cdn.amcharts.com/lib/5/geodata/worldTimeZoneAreasLow.js',
'https://cdn.amcharts.com/lib/5/themes/Animated.js',
],
],
'amcharts-stock' => [
'js' => [
'https://cdn.amcharts.com/lib/5/index.js',
'https://cdn.amcharts.com/lib/5/xy.js',
'https://cdn.amcharts.com/lib/5/themes/Animated.js',
],
],
'bootstrap-select' => [
'css' => [
'assets/plugins/custom/bootstrap-select/bootstrap-select.bundle.css',
],
'js' => [
'assets/plugins/custom/bootstrap-select/bootstrap-select.bundle.js',
],
],
'chained-select' => [
'js' => [
'assets/plugins/custom/jquery-chained/jquery.chained.js',
'assets/plugins/custom/jquery-chained/jquery.chained.remote.js',
],
],
],
/*
|--------------------------------------------------------------------------
| Default Settings Store
|--------------------------------------------------------------------------
|
| This option controls the default settings store that gets used while
| using this settings library.
|
| Supported: "json", "database"
|
*/
'store' => 'database',
/*
|--------------------------------------------------------------------------
| JSON Store
|--------------------------------------------------------------------------
|
| If the store is set to "json", settings are stored in the defined
| file path in JSON format. Use full path to file.
|
*/
'path' => storage_path() . '/settings.json',
/*
|--------------------------------------------------------------------------
| Database Store
|--------------------------------------------------------------------------
|
| The settings are stored in the defined file path in JSON format.
| Use full path to JSON file.
|
*/
// If set to null, the default connection will be used.
'connection' => null,
// Name of the table used.
'table' => 'settings',
// If you want to use custom column names in database store you could
// set them in this configuration
'keyColumn' => 'key',
'valueColumn' => 'value',
/*
|--------------------------------------------------------------------------
| Cache settings
|--------------------------------------------------------------------------
|
| If you want all setting calls to go through Laravel's cache system.
|
*/
'enableCache' => false,
// Whether to reset the cache when changing a setting.
'forgetCacheByWrite' => true,
// TTL in seconds.
'cacheTtl' => 15,
/*
|--------------------------------------------------------------------------
| Default Settings
|--------------------------------------------------------------------------
|
| Define all default settings that will be used before any settings are set,
| this avoids all settings being set to false to begin with and avoids
| hardcoding the same defaults in all 'Settings::get()' calls
|
*/
'defaults' => [
'foo' => 'bar',
]
];