Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of M.C. van der Most van Spijk  >  Config  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of use
Class: Config
Get config values from INI files XPath style
Author: By
Last change:
Date: 2009-01-21 23:40
Size: 191 bytes
 

Contents

Class file image Download
<?php
// start config, dir is the directory where the ini-files are found
$config Config::singleton($dir);

// retrieve setting
$setting Config::getSetting('site/display_errors')
?>