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 1717 *
1818 * NOTE: This class is required prior to Autoloader instantiation,
1919 * and does not extend BaseConfig.
20- *
21- * @immutable
2220 */
2321class Autoload extends AutoloadConfig
2422{
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ class Cache extends BaseConfig
107107 * -------------------------------------------------------------------------
108108 * Redis settings
109109 * -------------------------------------------------------------------------
110+ *
110111 * Your Redis server can be specified below, if you are using
111112 * the Redis or Predis drivers.
112113 *
Original file line number Diff line number Diff line change 22
33namespace Config ;
44
5- /**
6- * @immutable
7- */
85class DocTypes
96{
107 /**
Original file line number Diff line number Diff line change 33namespace Config ;
44
55/**
6- * Mimes
7- *
86 * This file contains an array of mime types. It is used by the
97 * Upload class to help identify allowed file types.
108 *
1513 *
1614 * When working with mime types, please make sure you have the ´fileinfo´
1715 * extension enabled to reliably detect the media types.
18- *
19- * @immutable
2016 */
2117class Mimes
2218{
@@ -482,6 +478,8 @@ class Mimes
482478 'application/sla ' ,
483479 'application/vnd.ms-pki.stl ' ,
484480 'application/x-navistyle ' ,
481+ 'model/stl ' ,
482+ 'application/octet-stream ' ,
485483 ],
486484 ];
487485
Original file line number Diff line number Diff line change 99 *
1010 * NOTE: This class is required prior to Autoloader instantiation,
1111 * and does not extend BaseConfig.
12- *
13- * @immutable
1412 */
1513class Modules extends BaseModules
1614{
Original file line number Diff line number Diff line change 77 *
88 * NOTE: This class does not extend BaseConfig for performance reasons.
99 * So you cannot replace the property values with Environment Variables.
10- *
11- * @immutable
1210 */
1311class Optimize
1412{
Original file line number Diff line number Diff line change 1212 * share a system folder between multiple applications, and more.
1313 *
1414 * 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.
1518 */
1619class Paths
1720{
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public function getPopularPosts(int $limit = 5)
116116 foreach ($ files as $ file ) {
117117 foreach ($ slugs as $ slug => $ count ) {
118118 try {
119- if (stripos ( $ file, $ slug ) !== false ) {
119+ if (str_contains ( strtolower ( $ file), strtolower ( $ slug )) ) {
120120 $ posts [$ count ] = $ this ->getPost ($ slug );
121121 }
122122 }
Original file line number Diff line number Diff line change 33 --main-text-color : # 555 ;
44 --dark-text-color : # 222 ;
55 --light-text-color : # c7c7c7 ;
6- --brand-primary-color : # E06E3F ;
6+ --brand-primary-color : # DC4814 ;
77 --light-bg-color : # ededee ;
88 --dark-bg-color : # 404040 ;
99}
@@ -71,7 +71,7 @@ p.lead {
7171 text-align : center;
7272 padding : calc (4px + 0.2083vw );
7373 width : 100% ;
74- margin- top: -2.14 rem ;
74+ top : 0 ;
7575 position : fixed;
7676}
7777
You can’t perform that action at this time.
0 commit comments