PHP Classes

File: example.php

Recommend this page to a friend!
  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: 11 years ago
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);

?>