Files
xcat-core/xCAT-web/lib/config.php
bp-sawyers f23f876f6a Cleaned up after moving to sourceforge
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@18 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-30 13:05:36 +00:00

29 lines
429 B
PHP

<?php
//Note: this file is not used any more
class Config {
var $configMap;
function Config() {
$configMap = array();
}
function &getInstance() {
static $instance;
if(NULL == $instance) {
$instance = new Config();
}
return $instance;
}
function getValue($key) {
return $this->configMap[$key];
}
function setValue($key, $value) {
$this->configMap[$key] = $value;
}
}
?>