mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 23:19:05 +00:00
1. 全面改写项目-管理面板的路由; 2. 拆分过于Contoller; 3. 优化了按钮过多的图表的显示; 4. 初步应用 Laravel的 表单验证功能; 5. 初步应用 Laravel的 component 功能 拆分/模块化前端代码; 6. 优化部分系统的判断逻辑; 7. 针对2.4.0以前的面板,追加辅助矫正数据库的sql文件;
64 lines
1.7 KiB
PHP
64 lines
1.7 KiB
PHP
<?php
|
|
|
|
use Helldar\PrettyArray\Contracts\Caseable;
|
|
|
|
return [
|
|
/*
|
|
* Determines what type of files to use when updating language files.
|
|
*
|
|
* `true` means inline files will be used.
|
|
* `false` means that default files will be used.
|
|
*
|
|
* The difference between them can be seen here:
|
|
* @see https://github.com/Laravel-Lang/lang/blob/master/script/en/validation.php
|
|
* @see https://github.com/Laravel-Lang/lang/blob/master/script/en/validation-inline.php
|
|
*
|
|
* By default, `false`.
|
|
*/
|
|
|
|
'inline' => false,
|
|
|
|
/*
|
|
* Do arrays need to be aligned by keys before processing arrays?
|
|
*
|
|
* By default, true
|
|
*/
|
|
|
|
'alignment' => true,
|
|
|
|
/*
|
|
* Key exclusion when combining.
|
|
*/
|
|
|
|
'exclude' => [
|
|
// 'auth' => ['throttle'],
|
|
// 'pagination' => ['previous'],
|
|
// 'passwords' => ['reset', 'throttled', 'user'],
|
|
// 'Confirm Password',
|
|
],
|
|
|
|
/*
|
|
* List of ignored localizations.
|
|
*/
|
|
|
|
'ignore' => [
|
|
// 'en',
|
|
// Helldar\LaravelLangPublisher\Constants\Locales::ALBANIAN,
|
|
],
|
|
|
|
/*
|
|
* Change key case.
|
|
*
|
|
* Available values:
|
|
*
|
|
* Helldar\PrettyArray\Contracts\Caseable::NO_CASE - Case does not change
|
|
* Helldar\PrettyArray\Contracts\Caseable::CAMEL_CASE - camelCase
|
|
* Helldar\PrettyArray\Contracts\Caseable::KEBAB_CASE - kebab-case
|
|
* Helldar\PrettyArray\Contracts\Caseable::PASCAL_CASE - PascalCase
|
|
* Helldar\PrettyArray\Contracts\Caseable::SNAKE_CASE - snake_case
|
|
*
|
|
* By default, Caseable::NO_CASE
|
|
*/
|
|
'case' => interface_exists(Caseable::class) ? Caseable::NO_CASE : 0,
|
|
];
|