From 8bfe05347b0136dc5078d324c755e941df0bbffe Mon Sep 17 00:00:00 2001 From: "Eirik A. Johansen" Date: Thu, 27 Jul 2017 13:53:34 +0200 Subject: [PATCH] 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. --- deployment/platformsh.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/platformsh.rst b/deployment/platformsh.rst index e58afbeb466..1ea230ebc92 100644 --- a/deployment/platformsh.rst +++ b/deployment/platformsh.rst @@ -126,12 +126,13 @@ following file (it's your role to add this file to your code base):: # Store session into /tmp. ini_set('session.save_path', '/tmp/sessions'); -Make sure this file is listed in your *imports*: +Make sure this file is listed in your *imports* (after the default `parameters.yml` file): .. code-block:: yaml # app/config/config.yml imports: + - { resource: parameters.yml } - { resource: parameters_platform.php } Deploy your Application