PHP Classes

File: config.ini

Recommend this page to a friend!
  Classes of Mark Rolich   Config Loader   config.ini   Download  
File: config.ini
Role: Auxiliary data
Content type: text/plain
Description: Sample confuration file
Class: Config Loader
Process configuration values parsed from ini files
Author: By
Last change: Update of config.ini
Date: 9 months ago
Size: 808 bytes
 

Contents

Class file image Download
localhost = DEV example.local = DEV example.com = PROD example1.com = PROD [GLOBAL] options[1] = 1 options[2] = 2 options[3] = 3 options[4] = 4 options[5] = 5 [DEV] db.host = "localhost" db.user = "root" db.pwd = "pass" db.name = "dbname" db.mysql.host = "localhost" db.mysql.user = "root" db.mysql.pwd = "pass" db.mysql.name = "dbname" log.path.info = "C:/logs/info.log" log.path.error = "C:/logs/error.log" [PROD] db.host = "localhost" db.user = "user" db.pwd = "pass" db.name = "prod_dbname" db.mysql.host = "localhost" db.mysql.user = "user" db.mysql.pwd = "pass" db.mysql.name = "prod_dbname" log.path.info = "/var/log/info.log" log.path.error = "/var/log/error.log"