PHP Classes

File: example.php

Recommend this page to a friend!
  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: 15 years ago
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')
?>