mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
86 lines
2.2 KiB
PHP
86 lines
2.2 KiB
PHP
<?php
|
|
|
|
use TeamTeaTime\Forum\Support\Frontend\Forum;
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Enable/disable feature
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Whether or not to enable the frontend feature.
|
|
|
|
|
*/
|
|
|
|
'enable' => env('FORUM_FRONTEND_ENABLED', true),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Preset
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The frontend preset to use. Must be installed with the
|
|
| forum:preset-install command.
|
|
|
|
|
*/
|
|
|
|
// 'preset' => 'livewire-tailwind',
|
|
'preset' => 'blade-tailwind',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Router
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Router config for the frontend routes.
|
|
|
|
|
*/
|
|
|
|
'router' => [
|
|
'prefix' => '/forum',
|
|
'as' => 'forum.',
|
|
'middleware' => ['web'],
|
|
'auth_middleware' => ['auth'],
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Route Prefixes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Prefixes to use for each model in frontend routes.
|
|
|
|
|
*/
|
|
|
|
'route_prefixes' => [
|
|
'category' => 'c',
|
|
'thread' => 't',
|
|
'post' => 'p',
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Category Color
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The default color to use when creating new categories.
|
|
|
|
|
*/
|
|
|
|
'default_category_color' => '#007bff',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Utility Class
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here we specify the class to use for various frontend utility methods.
|
|
| This is automatically aliased to 'Forum' for ease of use in views.
|
|
|
|
|
*/
|
|
|
|
'utility_class' => Forum::class,
|
|
|
|
];
|