Subversion Repositories oidplus

Rev

Rev 569 | Rev 730 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 569 Rev 571
Line 20... Line 20...
20
if (!defined('INSIDE_OIDPLUS')) die();
20
if (!defined('INSIDE_OIDPLUS')) die();
21
 
21
 
22
// OIDplusBaseConfig is the basic ("static") configuration stored in userdata/baseconfig/config.inc.php,
22
// OIDplusBaseConfig is the basic ("static") configuration stored in userdata/baseconfig/config.inc.php,
23
// e.g. database access credentials.
23
// e.g. database access credentials.
24
// Not to be confused with OIDplusConfig which are settings that are stored in the database.
24
// Not to be confused with OIDplusConfig which are settings that are stored in the database.
25
class OIDplusBaseConfig implements OIDplusConfigInterface {
25
class OIDplusBaseConfig implements OIDplusGetterSetterInterface {
26
 
26
 
27
        protected $data = array();
27
        protected $data = array();
28
 
28
 
29
        public function getValue($name, $default=null) {
29
        public function getValue($name, $default=null) {
30
                return $this->exists($name) ? $this->data[$name] : $default;
30
                return $this->exists($name) ? $this->data[$name] : $default;