Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 49c3ad7

Browse files
authored
Merge pull request #38 from LesyaBerest/master
renaming .env-example to .env
2 parents ede32a3 + f3dc10e commit 49c3ad7

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
File renamed without changes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ Instead you can accept different parameters from server environment with `env()`
8585
Server environment variables can be set through web server vhost configuration, .htaccess file,
8686
or .env file in project root (the simplest option).
8787

88-
To start using the project template copy .env-example as .env in the project root and setup it.
88+
To start using the project template copy .env.example as .env in the project root and setup it.
8989

9090
### Web
91-
Copy `/public/.htaccess-example` as `/public/.htaccess` to enable pretty URLs support and cache/expire
91+
Copy `/public/.htaccess.example` as `/public/.htaccess` to enable pretty URLs support and cache/expire
9292
tokens required by Google PageSpeed Insights test.
9393

9494
Furthermore you should check such options inside .env:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"vlucas/phpdotenv": "~2.2",
1616
"dmstr/yii2-adminlte-asset": "~2.6",
1717
"justcoded/yii2-settings": "*",
18-
"justcoded/yii2-rbac": "*"
18+
"justcoded/yii2-rbac": "*",
19+
"justcoded/dotenv-sync": "*"
1920
},
2021
"require-dev": {
2122
"yiisoft/yii2-debug": "~2.0.0",

0 commit comments

Comments
 (0)