Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Config.ini

Anthony Pilloud edited this page Mar 22, 2016 · 1 revision

Files config.ini

This file contains information on database, global root and if the the website still under developpment.

Developpment and Installation

  • the parameter installation musn't be edited.
  • the parameter developpment : if his value is 1, the website will use database inforamtion under [dev] else the informations under [prod] will be used

Constants for BDD connexion

It is in this files, parameters for dev and prod website.

  • DB_TYPE : define the type of BDD like MySQl, PostgreSQL...
  • DB_NAME : define the name of the BDD which we are going to use
  • DB_USER : the name of the user who is used to connect to the BDD
  • DB_PASS : the password which is used to connect to the BDD
  • DB_HOST : the adress of the server which host the BDD

Constants for image root

  • IMGROOT : define the url to images which are added by users
  • ROOTCKFINDER : define the root for images and files which are added by using ckfinder