PHP Classes

File: Config.php

Recommend this page to a friend!
  Classes of Andrey Nikishaev   Little INI Parser   Config.php   Download  
File: Config.php
Role: Auxiliary data
Content type: text/plain
Description: Example config file
Class: Little INI Parser
Parse INI files and store values in arrays
Author: By
Last change:
Date: 15 years ago
Size: 472 bytes
 

Contents

Class file image Download
;Config.php ; ;By default key separator is '.' and values separator is ',' ; ;General configuration [general] sitepath = http://site.com/ db.host = 10.10.10.10 db.name = magazine db.login = demo,tester db.pass = omed,test ;Module configuration [topic] name = topic path = /path/to/topics doctrine.models = /path/to/doctrine/models ;Module configuration [default] name = default path = /path/to/default doctrine.models = /path/to/doctrine/models