commit c2d29eecfd0559c5350c602876200990f65256f4 parent f31bafa2020cd6290562c69199abeca54ba353fe Author: Jan Dankert <devnull@localhost> Date: Wed, 5 Sep 2018 23:51:37 +0200 Sinnvollere Konfigurations-Vorbelegung. Diffstat:
config/config.yml | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/config/config.yml b/config/config.yml @@ -1,13 +1,13 @@ # OpenRat CMS configuration - Minimal settings -# Change this file or create 'config-<hostname>.yml'. +# Change this file or create 'config-<hostname>.yml' for a per-host-configuration database: db: - enabled : false # remove this line or set the value to 'true' to enable this database - user : dbuser # user - password: dbpass # password - database: cms # database name + enabled : false # remove this line or set the value to 'true' to enable this database + dsn : "mysql:host=localhost; dbname=name_of_db; charset=utf8" + user : "dbuser" # user + password: "dbpass" # password include: - ./config/config-${http:host}.yml