PHP Classes
Icontem

File: Config.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrey Nikishaev  >  Little INI Parser  >  Config.php  
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
 

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

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products