diff options
author | xue <> | 2005-12-03 04:42:14 +0000 |
---|---|---|
committer | xue <> | 2005-12-03 04:42:14 +0000 |
commit | 0d42be79b9dfeaa7686fb7da11920af4eb0561d7 (patch) | |
tree | 2ddbfeb4243ed5d87985158ee905ea521c430fca /framework/TApplication.php | |
parent | c488100ee3bf9d6c27a0a78e3174a6c698fabfa2 (diff) |
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r-- | framework/TApplication.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php index bd8e8e39..3f9457ea 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -808,7 +808,7 @@ class TApplicationConfiguration extends TComponent $properties=$node->getAttributes();
if(($id=$properties->itemAt('id'))===null)
throw new TConfigurationException('appconfig_moduleid_required');
- if(($type=$properties->remove('type'))===null && isset($this->_modules[$id]) && $this->_modules[$id][2]===null)
+ if(($type=$properties->remove('class'))===null && isset($this->_modules[$id]) && $this->_modules[$id][2]===null)
$type=$this->_modules[$id][0];
if($type===null)
throw new TConfigurationException('appconfig_moduletype_required',$id);
@@ -825,7 +825,7 @@ class TApplicationConfiguration extends TComponent $properties=$node->getAttributes();
if(($id=$properties->itemAt('id'))===null)
throw new TConfigurationException('appconfig_serviceid_required');
- if(($type=$properties->remove('type'))===null && isset($this->_services[$id]) && $this->_services[$id][2]===null)
+ if(($type=$properties->remove('class'))===null && isset($this->_services[$id]) && $this->_services[$id][2]===null)
$type=$this->_services[$id][0];
if($type===null)
throw new TConfigurationException('appconfig_servicetype_required',$id);
@@ -842,7 +842,7 @@ class TApplicationConfiguration extends TComponent $properties=$node->getAttributes();
if(($id=$properties->remove('id'))===null)
throw new TConfigurationException('appconfig_parameterid_required');
- if(($type=$properties->remove('type'))===null)
+ if(($type=$properties->remove('class'))===null)
$this->_parameters[$id]=$node->getValue();
else
$this->_parameters[$id]=array($type,$properties->toArray());
|