Skip to content

Commit 2c88d59

Browse files
committed
minor #8231 Specified import order of config files (nmeirik)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #8231). Discussion ---------- Specified import order of config files If the `parameters_platform.php` is included before `platform.yml` the latter overrides the former and results in an inability to connect to the database which (in my case) was very time consuming to debug. Commits ------- 94235e8 Specified import order of config files
2 parents f1ff445 + 94235e8 commit 2c88d59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deployment/platformsh.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,13 @@ following file (it's your role to add this file to your code base)::
126126
# Store session into /tmp.
127127
ini_set('session.save_path', '/tmp/sessions');
128128

129-
Make sure this file is listed in your *imports*:
129+
Make sure this file is listed in your *imports* (after the default `parameters.yml` file):
130130

131131
.. code-block:: yaml
132132
133133
# app/config/config.yml
134134
imports:
135+
- { resource: parameters.yml }
135136
- { resource: parameters_platform.php }
136137
137138
Deploy your Application

0 commit comments

Comments
 (0)