Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/Config/Autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*
* NOTE: This class is required prior to Autoloader instantiation,
* and does not extend BaseConfig.
*
* @immutable
*/
class Autoload extends AutoloadConfig
{
Expand Down
1 change: 1 addition & 0 deletions app/Config/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class Cache extends BaseConfig
* -------------------------------------------------------------------------
* Redis settings
* -------------------------------------------------------------------------
*
* Your Redis server can be specified below, if you are using
* the Redis or Predis drivers.
*
Expand Down
3 changes: 0 additions & 3 deletions app/Config/DocTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace Config;

/**
* @immutable
*/
class DocTypes
{
/**
Expand Down
6 changes: 2 additions & 4 deletions app/Config/Mimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace Config;

/**
* Mimes
*
* This file contains an array of mime types. It is used by the
* Upload class to help identify allowed file types.
*
Expand All @@ -15,8 +13,6 @@
*
* When working with mime types, please make sure you have the ´fileinfo´
* extension enabled to reliably detect the media types.
*
* @immutable
*/
class Mimes
{
Expand Down Expand Up @@ -482,6 +478,8 @@ class Mimes
'application/sla',
'application/vnd.ms-pki.stl',
'application/x-navistyle',
'model/stl',
'application/octet-stream',
],
];

Expand Down
2 changes: 0 additions & 2 deletions app/Config/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
*
* NOTE: This class is required prior to Autoloader instantiation,
* and does not extend BaseConfig.
*
* @immutable
*/
class Modules extends BaseModules
{
Expand Down
2 changes: 0 additions & 2 deletions app/Config/Optimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
*
* NOTE: This class does not extend BaseConfig for performance reasons.
* So you cannot replace the property values with Environment Variables.
*
* @immutable
*/
class Optimize
{
Expand Down
3 changes: 3 additions & 0 deletions app/Config/Paths.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* share a system folder between multiple applications, and more.
*
* All paths are relative to the project's root folder.
*
* NOTE: This class is required prior to Autoloader instantiation,
* and does not extend BaseConfig.
*/
class Paths
{
Expand Down
2 changes: 1 addition & 1 deletion app/Libraries/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function getPopularPosts(int $limit = 5)
foreach ($files as $file) {
foreach ($slugs as $slug => $count) {
try {
if (stripos($file, $slug) !== false) {
if (str_contains(strtolower($file), strtolower($slug))) {
$posts[$count] = $this->getPost($slug);
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/Views/errors/html/debug.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--main-text-color: #555;
--dark-text-color: #222;
--light-text-color: #c7c7c7;
--brand-primary-color: #E06E3F;
--brand-primary-color: #DC4814;
--light-bg-color: #ededee;
--dark-bg-color: #404040;
}
Expand Down Expand Up @@ -71,7 +71,7 @@ p.lead {
text-align: center;
padding: calc(4px + 0.2083vw);
width: 100%;
margin-top: -2.14rem;
top: 0;
position: fixed;
}

Expand Down
Loading
Loading