This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » Sharing ezpublish.yml parameters with...

Sharing ezpublish.yml parameters with config.yml

Sharing ezpublish.yml parameters with config.yml

Monday 24 June 2013 3:14:57 pm

Hey Guys,

Apologies if this is something simple and I've missed it.

I'm trying to figure out how to share the database connection settings from one yml file to another. Namely from ezpublish.yml to config.yml 

Presently they are in ezpublish.yml, like so:

                type: mysql
                user: root
                password: root
                server: localhost
                database_name: mysite_dev

And I want to share those settings within my config.yml, like so:

         class: PDO
             dsn: "mysql:dbname=mysite_dev"
             user: root
             password: root

Can these be shared in a manor similar to this example?



Modified on Monday 24 June 2013 3:16:23 pm by Gareth Arnott

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from