openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

config.yml (908B)


      1 
      2 # OpenRat CMS configuration
      3 # -------------------------
      4 
      5 # This file is YAML formatted.
      6 
      7 # Security warning:
      8 # Place your sensitive configuration outside of your document root!
      9 # DO NOT PLACE ANY SENSITIVE INFORMATION HERE - THIS FILE IS WORLD READABLE!
     10 
     11 database:
     12   db:
     13     enabled : false          # remove this line or set the value to 'true' to enable this database
     14     dsn     : "mysql:host=localhost; dbname=name_of_db; charset=utf8"
     15     user    : "dbuser"       # user
     16     password: "dbpass"       # password (attention: please to NOT place any passwords in the document root)
     17 
     18 # It is recommended to place the configuration outside of the document root
     19 #
     20 # Simple example:
     21 # include: /etc/openrat/config.yml
     22 #
     23 # You may use environment variables like
     24 # include: ${env:YOUR_ENV_VAR}.yml
     25 #
     26 # or http header like
     27 # include: /etc/openrat/config-${http:host}.yml
     28 #
     29 include:
     30   - ./config-${http:host}.yml