Skip to content

Commit e9b3cbf

Browse files
committed
Merge branch '5.x' into 5.next
2 parents a80152a + 0e90947 commit e9b3cbf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

config/app.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@
285285
'timezone' => 'UTC',
286286

287287
/*
288-
* For MariaDB/MySQL the internal default changed from utf8 to utf8mb4, aka full utf-8 support, in CakePHP 3.6
288+
* For MariaDB/MySQL the internal default changed from utf8 to utf8mb4, aka full utf-8 support
289289
*/
290-
//'encoding' => 'utf8mb4',
290+
'encoding' => 'utf8mb4',
291291

292292
/*
293293
* If your MySQL server is configured with `skip-character-set-client-handshake`
@@ -326,7 +326,7 @@
326326
'driver' => Mysql::class,
327327
'persistent' => false,
328328
'timezone' => 'UTC',
329-
//'encoding' => 'utf8mb4',
329+
'encoding' => 'utf8mb4',
330330
'flags' => [],
331331
'cacheMetadata' => true,
332332
'quoteIdentifiers' => false,

config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
}
158158

159159
$httpHost = env('HTTP_HOST');
160-
if (isset($httpHost)) {
160+
if ($httpHost) {
161161
$fullBaseUrl = 'http' . $s . '://' . $httpHost;
162162
}
163163
unset($httpHost, $s);

0 commit comments

Comments
 (0)