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 Ersun Özer  >  Config Manager Class  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file test
Class: Config Manager Class
Read configuration values from PHP scripts
Author: By
Last change: added new line
Date: 2013-05-30 04:52
Size: 204 bytes
 

Contents

Class file image Download
<?php
 
 $config 
config::getInstance();
 
$config->setConfigPath(__DIR__);
 
$config->getConfigFile('config');
 
 echo 
$config->get('controller');

 
// stored items
 
print_r($config->item);

?>