-
Notifications
You must be signed in to change notification settings - Fork 970
/
theme.php
101 lines (89 loc) · 2.62 KB
/
theme.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
<?php
return [
/*
|--------------------------------------------------------------------------
| Themes
|--------------------------------------------------------------------------
|
| Themes used for the website.
| eg. admin, public, user etc.
|
*/
'themes' => [
'default' => [
'theme' => 'default',
'view' => 'default',
],
'admin' => [
'theme' => 'default',
'view' => 'default',
],
'public' => [
'theme' => 'public',
'view' => 'public',
],
'user' => [
'theme' => 'user',
'view' => 'user',
],
'client' => [
'theme' => 'user',
'view' => 'user',
],
],
/*
|--------------------------------------------------------------------------
| Asset url path
|--------------------------------------------------------------------------
|
| The path to asset, this config can be cdn host.
| eg. http://cdn.domain.com
|
*/
'assetUrl' => '',
/*
|--------------------------------------------------------------------------
| Theme Default
|--------------------------------------------------------------------------
|
| If you don't set a theme when using a "Theme" class the default theme
| will replace automatically.
|
*/
'themeDefault' => 'default',
/*
|--------------------------------------------------------------------------
| Layout Default
|--------------------------------------------------------------------------
|
| If you don't set a layout when using a "Theme" class the default layout
| will replace automatically.
|
*/
'layoutDefault' => 'default',
/*
|--------------------------------------------------------------------------
| Path to lookup theme
|--------------------------------------------------------------------------
|
| The root path contains themes collections.
|
*/
'themeDir' => 'themes',
/*
|--------------------------------------------------------------------------
| A pieces of theme collections
|--------------------------------------------------------------------------
|
| Inside a theme path we need to set up directories to
| keep "layouts", "assets" and "partials".
|
*/
'containerDir' => [
'layout' => 'layouts',
'asset' => 'assets',
'partial' => 'partials',
'widget' => 'widgets',
'view' => 'views',
],
];