Files
newznab-tmux/config/forum.web.php
T
2024-04-08 20:38:46 +02:00

72 lines
1.8 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Enable/disable
|--------------------------------------------------------------------------
|
| Set to false if you want to effectively disable the frontend.
|
*/
'enable' => true,
/*
|--------------------------------------------------------------------------
| Router
|--------------------------------------------------------------------------
|
| Web router config.
|
*/
'router' => [
'prefix' => '/forum',
'as' => 'forum.',
'namespace' => '\TeamTeaTime\Forum\Http\Controllers\Web',
'middleware' => ['web'],
'auth_middleware' => ['auth'],
],
/*
|--------------------------------------------------------------------------
| Route Prefixes
|--------------------------------------------------------------------------
|
| Prefixes to use for each model.
|
*/
'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 web utility methods.
| This is automatically aliased to 'Forum' for ease of use in views.
|
*/
'utility_class' => TeamTeaTime\Forum\Support\Web\Forum::class,
];