Login   Register  
PHP Classes
elePHPant
Icontem

File: test_config2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Guilherme Blanco  >  pConfig  >  test_config2.php  >  Download  
File: test_config2.php
Role: Example script
Content type: text/plain
Description: Second Test
Class: pConfig
Manage hierarchical configuration files
Author: By
Last change:
Date: 2005-03-02 19:55
Size: 349 bytes
 

Contents

Class file image Download
<?php

require_once "class.pConfig.php";

// Checks if Module pConfig is loaded
if (defined("MOD_PCONFIG"))
    echo 
"<h1>pConfig Module Loaded</h1>\n";

// Open Configuration File and Generate Tree Structure
$config = new pConfig("config_generated.ini.php");

// Testing output
echo "<pre>";
print_r($config);
echo 
"</pre>";

?>