Skip to content

Commit f411f18

Browse files
Merge pull request #179 from yii2-extensions/sync-to-main-16
Sync to main branch.
2 parents 7a1eff6 + 6ca067a commit f411f18

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
- Enh #170: Implement `Apache` stack (@terabytesoftw)
1515
- Bug #171: Update section title to `Available deployment options`, group stacks by type, and add Apache entry in `README.md` (@terabytesoftw)
1616
- Bug #172: Update badge label from `PHPUnit` to `Codeception` in `README.md` (@terabytesoftw)
17+
- Bug #175: Update allowed IPs in configuration for development purposes in `configuration.md` (@terabytesoftw)
18+
- Bug #177: Add missing config path to ECS configuration in `ecs.php` (@terabytesoftw)
1719

1820
## 0.1.0 August 31, 2025
1921

config/web/modules.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
$config = [
66
'debug' => [
77
'class' => yii\debug\Module::class,
8-
// uncomment the following to add your IP if you aren't connecting from localhost.
9-
'allowedIPs' => ['*'], // allow all IPs for development purposes only, do not use in production
8+
// development only: allows all IPs.
9+
// for production, replace '*' with explicit trusted IPs (for example, ['127.0.0.1', '::1']).
10+
'allowedIPs' => ['*'],
1011
],
1112
'gii' => [
1213
'class' => yii\gii\Module::class,
13-
// uncomment the following to add your IP if you aren't connecting from localhost.
14-
'allowedIPs' => ['*'], // allow all IPs for development purposes only, do not use in production
14+
// development only: allows all IPs.
15+
// for production, replace '*' with explicit trusted IPs (for example, ['127.0.0.1', '::1']).
16+
'allowedIPs' => ['*'],
1517
],
1618
];
1719

docs/configuration.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,15 @@ declare(strict_types=1);
201201
$config = [
202202
'debug' => [
203203
'class' => yii\debug\Module::class,
204-
// uncomment the following to add your IP if you aren't connecting from localhost.
205-
//'allowedIPs' => ['127.0.0.1', '::1'],
204+
// development only: allows all IPs.
205+
// for production, replace '*' with explicit trusted IPs (for example, ['127.0.0.1', '::1']).
206+
'allowedIPs' => ['*'],
206207
],
207208
'gii' => [
208209
'class' => yii\gii\Module::class,
209-
// uncomment the following to add your IP if you aren't connecting from localhost.
210-
//'allowedIPs' => ['127.0.0.1', '::1'],
210+
// development only: allows all IPs.
211+
// for production, replace '*' with explicit trusted IPs (for example, ['127.0.0.1', '::1']).
212+
'allowedIPs' => ['*'],
211213
],
212214
];
213215

ecs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
->withFileExtensions(['php'])
4949
->withPaths(
5050
[
51+
__DIR__ . '/config',
5152
__DIR__ . '/src',
5253
__DIR__ . '/tests',
5354
],

0 commit comments

Comments
 (0)