-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
156 lines (125 loc) · 3.54 KB
/
admin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
return [
/*
* Laravel-admin name.
*/
'name' => 'Vertual-Pay管理画面',
/*
* Logo in admin panel header.
*/
'logo' => '<b>Vertual-Pay</b> 管理画面',
/*
* Mini-logo in admin panel header.
*/
'logo-mini' => '<b>La</b>',
/*
* Route configuration.
*/
'route' => [
'prefix' => 'admin',
'namespace' => 'App\\Admin\\Controllers',
'middleware' => ['web', 'admin'],
],
/*
* Laravel-admin install directory.
*/
'directory' => app_path('Admin'),
/*
* Laravel-admin html title.
*/
'title' => 'Admin',
/*
* Use `https`.
*/
'secure' => false,
/*
* Laravel-admin auth setting.
*/
'auth' => [
'guards' => [
'admin' => [
'driver' => 'session',
'provider' => 'admin',
],
],
'providers' => [
'admin' => [
'driver' => 'eloquent',
'model' => Encore\Admin\Auth\Database\Administrator::class,
],
],
],
/*
* Laravel-admin upload setting.
*/
'upload' => [
'disk' => 'admin',
'directory' => [
'image' => 'images',
'file' => 'files',
],
],
/*
* Laravel-admin database setting.
*/
'database' => [
// Database connection for following tables.
'connection' => '',
// User tables and model.
'users_table' => 'admin_users',
'users_model' => Encore\Admin\Auth\Database\Administrator::class,
// Role table and model.
'roles_table' => 'admin_roles',
'roles_model' => Encore\Admin\Auth\Database\Role::class,
// Permission table and model.
'permissions_table' => 'admin_permissions',
'permissions_model' => Encore\Admin\Auth\Database\Permission::class,
// Menu table and model.
'menu_table' => 'admin_menu',
'menu_model' => Encore\Admin\Auth\Database\Menu::class,
// Pivot table for table above.
'operation_log_table' => 'admin_operation_log',
'user_permissions_table' => 'admin_user_permissions',
'role_users_table' => 'admin_role_users',
'role_permissions_table' => 'admin_role_permissions',
'role_menu_table' => 'admin_role_menu',
],
/*
* By setting this option to open or close operation log in laravel-admin.
*/
'operation_log' => [
'enable' => true,
/*
* Routes that will not log to database.
*
* All method to path like: admin/auth/logs
* or specific method to path like: get:admin/auth/logs
*/
'except' => [
'admin/auth/logs*',
],
],
/*
* @see https://adminlte.io/docs/2.4/layout
*/
'skin' => 'skin-blue-light',
/*
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed |
| | layout-boxed |
| | layout-top-nav |
| | sidebar-collapse |
| | sidebar-mini |
|---------------------------------------------------------|
*/
'layout' => ['sidebar-mini', 'sidebar-collapse'],
/*
* Version displayed in footer.
*/
'version' => '1.5.x-dev',
/*
* Settings for extensions.
*/
'extensions' => [
],
];