blessing-skin-server/config/plugins.php

49 lines
1.4 KiB
PHP
Raw Normal View History

<?php
return [
/*
|--------------------------------------------------------------------------
| Plugins Directory
|--------------------------------------------------------------------------
|
| The absolute path for loading plugins.
| Defaults to `base_path()."/plugins"`.
|
*/
2019-02-27 23:44:50 +08:00
'directory' => env('PLUGINS_DIR'),
/*
|--------------------------------------------------------------------------
| Plugins Assets URL
|--------------------------------------------------------------------------
|
| The URL to access plugin's assets (CSS, JavaScript etc.).
| Defaults to `http://site_url/plugins`.
|
*/
2019-02-27 23:44:50 +08:00
'url' => env('PLUGINS_URL'),
2018-08-19 11:39:14 +08:00
/*
|--------------------------------------------------------------------------
| Plugins Market Source
|--------------------------------------------------------------------------
|
| Specify where to get plugins' metadata for plugin market.
|
*/
2019-04-01 16:12:11 +08:00
'registry' => env(
'PLUGINS_REGISTRY',
2020-04-07 16:09:30 +08:00
'https://cdn.jsdelivr.net/gh/bs-community/plugins-dist@latest/registry-preview_{lang}.json'
2019-04-01 16:12:11 +08:00
),
2020-04-07 16:09:30 +08:00
/*
|--------------------------------------------------------------------------
| Plugins Market Localization
|--------------------------------------------------------------------------
|
| Supported languages of plugins market registry will be listed here.
|
*/
'locales' => ['en', 'zh_CN'],
];