Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit d36a2ed

Browse files
authored
CakePHP update to v5.3 (#10591)
1 parent 2ed06fe commit d36a2ed

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

frameworks/PHP/cakephp/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"type": "project",
66
"license": "MIT",
77
"require": {
8-
"php": ">=8.1",
9-
"cakephp/cakephp": "^5.0.1",
8+
"php": ">=8.2",
9+
"cakephp/cakephp": "^5.3.0",
1010
"cakephp/migrations": "^4.0.0",
1111
"cakephp/plugin-installer": "^2.0",
12-
"mobiledetect/mobiledetectlib": "^3.74"
12+
"mobiledetect/mobiledetectlib": "^4.8.03"
1313
},
1414
"require-dev": {
1515
"cakephp/bake": "^3.0.0",

frameworks/PHP/cakephp/config/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@
107107
* Duration will be set to '+2 minutes' in bootstrap.php when debug = true
108108
* If you set 'className' => 'Null' core cache will be disabled.
109109
*/
110-
'_cake_core_' => [
110+
'_cake_translations_' => [
111111
'className' => FileEngine::class,
112-
'prefix' => 'myapp_cake_core_',
112+
'prefix' => 'myapp_cake_translations_',
113113
'path' => CACHE . 'persistent' . DS,
114114
'serialize' => true,
115115
'duration' => '+1 years',

frameworks/PHP/cakephp/server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Adapterman::init();
99

1010
$http_worker = new Worker('http://0.0.0.0:8080');
11-
$http_worker->count = (int) shell_exec('nproc') * 2;
11+
$http_worker->count = (int) shell_exec('nproc') * 4;
1212
$http_worker->reusePort = true;
1313
$http_worker->name = 'AdapterMan-CakePHP';
1414

0 commit comments

Comments
 (0)