Exemple #1
0
 function __construct($file)
 {
     $o = TConfig::factory("ini");
     $o->set('env.root', realpath(dirname(__FILE__) . '/../'));
     $o->load($file);
     $this->Conf = $o;
 }
Exemple #2
0
 function testFactory()
 {
     $o = TConfig::factory("ini");
     $this->assertEquals("TConfigIni", get_class($o));
 }