Skip to content

Commit

Permalink
Merge branch 'release/2.2.11' into craft-webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed May 26, 2020
2 parents e6d37a6 + d663956 commit 5721732
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# nystudio107/craft Change Log

## 2.2.11 - 2020.05.26
### Changed
* Use DSN for database connections

## 2.2.10 - 2020.05.20
### Added
* Added baked-in support for xdebug
Expand Down
5 changes: 1 addition & 4 deletions cms/config/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
*/

return [
'driver' => getenv('DB_DRIVER'),
'server' => getenv('DB_SERVER'),
'dsn' => getenv('DB_DSN'),
'user' => getenv('DB_USER'),
'password' => getenv('DB_PASSWORD'),
'database' => getenv('DB_DATABASE'),
'schema' => getenv('DB_SCHEMA'),
'tablePrefix' => getenv('DB_TABLE_PREFIX'),
'port' => getenv('DB_PORT')
];
5 changes: 1 addition & 4 deletions cms/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ RUN_QUEUE_AUTOMATICALLY=1
SECURITY_KEY=EOdiVBONceb8zFGJP7InMui2pMkvNACz

# Craft database settings
DB_DRIVER=mysql
DB_SERVER=mariadb
DB_DSN=mysql:host=mariadb;port=3306;dbname=project
DB_USER=project
DB_PASSWORD=project
DB_DATABASE=project
DB_SCHEMA=public
DB_TABLE_PREFIX=
DB_PORT=

# URL & path settings
ASSETS_URL=http://localhost:8000
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "craftcms/craft",
"description": "nystudio107 Craft 3.4 CMS scaffolding project",
"version": "2.2.10",
"version": "2.2.11",
"keywords": [
"craft",
"cms",
Expand Down

0 comments on commit 5721732

Please sign in to comment.