File tree Expand file tree Collapse file tree 14 files changed +355
-295
lines changed Expand file tree Collapse file tree 14 files changed +355
-295
lines changed Original file line number Diff line number Diff line change 17
17
*
18
18
* NOTE: This class is required prior to Autoloader instantiation,
19
19
* and does not extend BaseConfig.
20
- *
21
- * @immutable
22
20
*/
23
21
class Autoload extends AutoloadConfig
24
22
{
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ class Cache extends BaseConfig
107
107
* -------------------------------------------------------------------------
108
108
* Redis settings
109
109
* -------------------------------------------------------------------------
110
+ *
110
111
* Your Redis server can be specified below, if you are using
111
112
* the Redis or Predis drivers.
112
113
*
Original file line number Diff line number Diff line change 2
2
3
3
namespace Config ;
4
4
5
- /**
6
- * @immutable
7
- */
8
5
class DocTypes
9
6
{
10
7
/**
Original file line number Diff line number Diff line change 3
3
namespace Config ;
4
4
5
5
/**
6
- * Mimes
7
- *
8
6
* This file contains an array of mime types. It is used by the
9
7
* Upload class to help identify allowed file types.
10
8
*
15
13
*
16
14
* When working with mime types, please make sure you have the ´fileinfo´
17
15
* extension enabled to reliably detect the media types.
18
- *
19
- * @immutable
20
16
*/
21
17
class Mimes
22
18
{
@@ -482,6 +478,8 @@ class Mimes
482
478
'application/sla ' ,
483
479
'application/vnd.ms-pki.stl ' ,
484
480
'application/x-navistyle ' ,
481
+ 'model/stl ' ,
482
+ 'application/octet-stream ' ,
485
483
],
486
484
];
487
485
Original file line number Diff line number Diff line change 9
9
*
10
10
* NOTE: This class is required prior to Autoloader instantiation,
11
11
* and does not extend BaseConfig.
12
- *
13
- * @immutable
14
12
*/
15
13
class Modules extends BaseModules
16
14
{
Original file line number Diff line number Diff line change 7
7
*
8
8
* NOTE: This class does not extend BaseConfig for performance reasons.
9
9
* So you cannot replace the property values with Environment Variables.
10
- *
11
- * @immutable
12
10
*/
13
11
class Optimize
14
12
{
Original file line number Diff line number Diff line change 12
12
* share a system folder between multiple applications, and more.
13
13
*
14
14
* All paths are relative to the project's root folder.
15
+ *
16
+ * NOTE: This class is required prior to Autoloader instantiation,
17
+ * and does not extend BaseConfig.
15
18
*/
16
19
class Paths
17
20
{
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public function getPopularPosts(int $limit = 5)
116
116
foreach ($ files as $ file ) {
117
117
foreach ($ slugs as $ slug => $ count ) {
118
118
try {
119
- if (stripos ( $ file, $ slug ) !== false ) {
119
+ if (str_contains ( strtolower ( $ file), strtolower ( $ slug )) ) {
120
120
$ posts [$ count ] = $ this ->getPost ($ slug );
121
121
}
122
122
}
Original file line number Diff line number Diff line change 3
3
--main-text-color : # 555 ;
4
4
--dark-text-color : # 222 ;
5
5
--light-text-color : # c7c7c7 ;
6
- --brand-primary-color : # E06E3F ;
6
+ --brand-primary-color : # DC4814 ;
7
7
--light-bg-color : # ededee ;
8
8
--dark-bg-color : # 404040 ;
9
9
}
@@ -71,7 +71,7 @@ p.lead {
71
71
text-align : center;
72
72
padding : calc (4px + 0.2083vw );
73
73
width : 100% ;
74
- margin- top: -2.14 rem ;
74
+ top : 0 ;
75
75
position : fixed;
76
76
}
77
77
You can’t perform that action at this time.
0 commit comments